{"api_version":"1","generated_at":"2026-07-24T20:21:13+00:00","cve":"CVE-2026-8503","urls":{"html":"https://cve.report/CVE-2026-8503","api":"https://cve.report/api/cve/CVE-2026-8503.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-8503","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-8503"},"summary":{"title":"Apache::Session::Generate::SHA256 versions before 1.3.19 for Perl create insecure session ids","description":"Apache::Session::Generate::SHA256 versions before 1.3.19 for Perl create insecure session ids.\n\nApache::Session::Generate::SHA256 generated session ids insecurely. The default session id generator returns a SHA-256 hash of the built-in rand() function, the epoch time, and the PID, that is hashed again. These are predictable, low-entropy sources. Predicable session ids could allow an attacker to gain access to systems.\n\nNote that version 1.3.19 has a fallback without warning to use insecure session generation method if the call to Crypt::URandom::urandom fails. However, this is unlikely as Crypt::URandom is a hardcoded requirement of the module.\n\nThis issue is similar to CVE-2025-40931 for Apache::Session::Generate::MD5.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-05-15 12:17:09","updated_at":"2026-05-18 18:23:03"},"problem_types":["CWE-338","CWE-340","CWE-340 CWE-340 Generation of Predictable Numbers or Identifiers","CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator"],"metrics":[{"version":"3.1","source":"ADP","type":"DECLARED","score":"6.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}},{"version":"3.1","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","score":"6.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"}}],"references":[{"url":"https://github.com/LemonLDAPNG/Apache-Session-Browseable/commit/cc915cbbd266776eec3dd8bf4748b15fa827dbd0.patch","name":"https://github.com/LemonLDAPNG/Apache-Session-Browseable/commit/cc915cbbd266776eec3dd8bf4748b15fa827dbd0.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-40932","name":"https://www.cve.org/CVERecord?id=CVE-2025-40932","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":["Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/GUIMARD/Apache-Session-Browseable-1.3.19/changes","name":"https://metacpan.org/release/GUIMARD/Apache-Session-Browseable-1.3.19/changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":["Release Notes"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-40931","name":"https://www.cve.org/CVERecord?id=CVE-2025-40931","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":["Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/GUIMARD/Apache-Session-Browseable-1.3.19/diff/GUIMARD/Apache-Session-Browseable-1.3.18#lib/Apache/Session/Generate/SHA256.pm","name":"https://metacpan.org/release/GUIMARD/Apache-Session-Browseable-1.3.19/diff/GUIMARD/Apache-Session-Browseable-1.3.18#lib/Apache/Session/Generate/SHA256.pm","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":["Product"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-8503","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8503","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"GUIMARD","product":"Apache::Session::Generate::SHA256","version":"affected 1.3.19 custom","platforms":[]}],"timeline":[{"source":"CNA","time":"2026-05-13T00:00:00.000Z","lang":"en","value":"Issue identified by CPANSec"},{"source":"CNA","time":"2026-05-13T00:00:00.000Z","lang":"en","value":"Issue reported to author"},{"source":"CNA","time":"2026-05-14T00:00:00.000Z","lang":"en","value":"Version 1.3.19 released"}],"solutions":[],"workarounds":[{"source":"CNA","title":"","value":"Upgrade to version 1.3.19 or later.","time":"","lang":"en"}],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2026","cve_id":"8503","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"guimard","cpe5":"apache\\","cpe6":"\\","cpe7":"session\\","cpe8":"\\","cpe9":"generate\\","cpe10":"\\","cpe11":"sha256","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"8503","cve":"CVE-2026-8503","epss":"0.000410000","percentile":"0.124460000","score_date":"2026-05-26","updated_at":"2026-05-27 00:01:53"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}},{"other":{"content":{"id":"CVE-2026-8503","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-05-15T15:36:59.141220Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-05-15T15:37:28.791Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"Apache-Session-Browsable","product":"Apache::Session::Generate::SHA256","programFiles":["lib/Apache/Session/Generate/SHA256.pm"],"programRoutines":[{"name":"Apache::Session::Generate::SHA256#generate"}],"repo":"https://github.com/LemonLDAPNG/Apache-Session-Browseable","vendor":"GUIMARD","versions":[{"lessThan":"1.3.19","status":"affected","version":"0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"Apache::Session::Generate::SHA256 versions before 1.3.19 for Perl create insecure session ids.\n\nApache::Session::Generate::SHA256 generated session ids insecurely. The default session id generator returns a SHA-256 hash of the built-in rand() function, the epoch time, and the PID, that is hashed again. These are predictable, low-entropy sources. Predicable session ids could allow an attacker to gain access to systems.\n\nNote that version 1.3.19 has a fallback without warning to use insecure session generation method if the call to Crypt::URandom::urandom fails. However, this is unlikely as Crypt::URandom is a hardcoded requirement of the module.\n\nThis issue is similar to CVE-2025-40931 for Apache::Session::Generate::MD5."}],"impacts":[{"capecId":"CAPEC-115","descriptions":[{"lang":"en","value":"CAPEC-115 Authentication Bypass"}]},{"capecId":"CAPEC-102","descriptions":[{"lang":"en","value":"CAPEC-102 Session Sidejacking"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-340","description":"CWE-340 Generation of Predictable Numbers or Identifiers","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-338","description":"CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-05-15T11:06:29.777Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["release-notes"],"url":"https://metacpan.org/release/GUIMARD/Apache-Session-Browseable-1.3.19/changes"},{"url":"https://metacpan.org/release/GUIMARD/Apache-Session-Browseable-1.3.19/diff/GUIMARD/Apache-Session-Browseable-1.3.18#lib/Apache/Session/Generate/SHA256.pm"},{"tags":["patch"],"url":"https://github.com/LemonLDAPNG/Apache-Session-Browseable/commit/cc915cbbd266776eec3dd8bf4748b15fa827dbd0.patch"},{"tags":["related"],"url":"https://www.cve.org/CVERecord?id=CVE-2025-40931"},{"tags":["related"],"url":"https://www.cve.org/CVERecord?id=CVE-2025-40932"}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-05-13T00:00:00.000Z","value":"Issue identified by CPANSec"},{"lang":"en","time":"2026-05-13T00:00:00.000Z","value":"Issue reported to author"},{"lang":"en","time":"2026-05-14T00:00:00.000Z","value":"Version 1.3.19 released"}],"title":"Apache::Session::Generate::SHA256 versions before 1.3.19 for Perl create insecure session ids","workarounds":[{"lang":"en","value":"Upgrade to version 1.3.19 or later."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-8503","datePublished":"2026-05-15T11:06:29.777Z","dateReserved":"2026-05-13T21:07:03.760Z","dateUpdated":"2026-05-15T15:37:28.791Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-15 12:17:09","lastModifiedDate":"2026-05-18 18:23:03","problem_types":["CWE-338","CWE-340","CWE-340 CWE-340 Generation of Predictable Numbers or Identifiers","CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator"],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":2.5}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:guimard:apache\\:\\:session\\:\\:generate\\:\\:sha256:*:*:*:*:*:perl:*:*","versionEndExcluding":"1.3.19","matchCriteriaId":"22FCEB1A-DF59-4660-A23B-389E42133610"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"8503","Ordinal":"1","Title":"Apache::Session::Generate::SHA256 versions before 1.3.19 for Per","CVE":"CVE-2026-8503","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"8503","Ordinal":"1","NoteData":"Apache::Session::Generate::SHA256 versions before 1.3.19 for Perl create insecure session ids.\n\nApache::Session::Generate::SHA256 generated session ids insecurely. The default session id generator returns a SHA-256 hash of the built-in rand() function, the epoch time, and the PID, that is hashed again. These are predictable, low-entropy sources. Predicable session ids could allow an attacker to gain access to systems.\n\nNote that version 1.3.19 has a fallback without warning to use insecure session generation method if the call to Crypt::URandom::urandom fails. However, this is unlikely as Crypt::URandom is a hardcoded requirement of the module.\n\nThis issue is similar to CVE-2025-40931 for Apache::Session::Generate::MD5.","Type":"Description","Title":"Apache::Session::Generate::SHA256 versions before 1.3.19 for Per"}]}}}