{"id":"CVE-2026-8503","aliases":["CVE-2026-8503"],"related":[],"kind":"vulnerability","state":"published","title":"Apache::Session::Generate::SHA256 versions before 1.3.19 for Perl create insecure session ids","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Las versiones de Apache::Session::Generate::SHA256 anteriores a la 1.3.19 para Perl crean identificadores de sesión inseguros.\n\nApache::Session::Generate::SHA256 generaba identificadores de sesión de forma insegura. El generador predeterminado de identificadores de sesión devuelve un hash SHA-256 de la función rand() incorporada, el tiempo de época y el PID, que se vuelve a aplicar hash. Estas son fuentes predecibles y de baja entropía. Los identificadores de sesión predecibles podrían permitir a un atacante obtener acceso a los sistemas.\n\nTenga en cuenta que la versión 1.3.19 tiene un mecanismo de reserva sin advertencia para usar un método de generación de sesión inseguro si la llamada a Crypt::URandom::urandom falla. Sin embargo, esto es poco probable ya que Crypt::URandom es un requisito fijo del módulo.\n\nEste problema es similar a CVE-2025-40931 para Apache::Session::Generate::MD5.","source":"nvd"}],"published":"2026-05-15T11:06:29.777Z","modified":"2026-10-26T14:10:00.130Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-338","CWE-340"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"1.3.19","status":"affected"}],"vendor":"GUIMARD","product":"Apache::Session::Generate::SHA256","package":"Apache-Session-Browsable","repo":"https://github.com/LemonLDAPNG/Apache-Session-Browseable","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.3.19"}],"vendor":"guimard","product":"apache::session::generate::sha256","cpe":"cpe:2.3:a:guimard:apache\\:\\:session\\:\\:generate\\:\\:sha256:*:*:*:*:*:perl:*:*","source":"nvd"}],"references":[{"url":"https://metacpan.org/release/GUIMARD/Apache-Session-Browseable-1.3.19/changes","tags":["release-notes"],"sources":["cvelist","nvd"]},{"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":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/LemonLDAPNG/Apache-Session-Browseable/commit/cc915cbbd266776eec3dd8bf4748b15fa827dbd0.patch","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-40931","tags":["related","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-40932","tags":["related","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-05-15T15:36:59.141Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-8503","url":"https://www.cve.org/CVERecord?id=CVE-2026-8503","licence":"CVE Terms of Use","modified":"2026-05-15T15:37:28.791Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-8503","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8503","licence":"Public domain","modified":"2026-10-26T14:10:00.130Z"}],"updatedAt":"2026-11-25T22:59:21.808Z","epss":{"score":0.00243,"percentile":0.16651,"date":"2026-12-01T12:00:22.000Z"}}