{"id":"CVE-2026-8503","published":"2026-05-15T11:06:29Z","modified":"2026-05-15T15:37:28Z","title":"Apache::Session::Generate::SHA256 versions before 1.3.19 for Perl create insecure session ids","vendor":"GUIMARD","product":"Apache::Session::Generate::SHA256","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00392,"percentile":0.24952,"provenance":"source"},"cwes":[{"id":"CWE-340","name":"Generation of Predictable Numbers or Identifiers"},{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}],"references":[{"url":"https://metacpan.org/release/GUIMARD/Apache-Session-Browseable-1.3.19/changes","tags":["release-notes"]},{"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":[]},{"url":"https://github.com/LemonLDAPNG/Apache-Session-Browseable/commit/cc915cbbd266776eec3dd8bf4748b15fa827dbd0.patch","tags":["patch"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-40931","tags":["related"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-40932","tags":["related"]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":4.99},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"guimard","affectedVersions":[{"vendor":"GUIMARD","product":"Apache::Session::Generate::SHA256","versions":["< 1.3.19"]}],"workarounds":{"items":["Upgrade to version 1.3.19 or later."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-115","name":"Authentication Bypass"},{"id":"CAPEC-102","name":"Session Sidejacking"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-15T15:36:59.141220Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-30536","exploited":false,"provenance":"source"},"lineage":{"parents":[{"from":"CVE-2025-40931","to":"CVE-2026-8503","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"This issue is similar to CVE-2025-40931 for Apache::Session::Generate::MD5.","from":"CVE.org","in":"CVE-2026-8503"}]}]}}