{"id":"CVE-2026-3256","aliases":["CVE-2026-3256"],"related":[],"kind":"vulnerability","state":"published","title":"HTTP::Session versions before 0.54 for Perl defaults to using insecurely generated session ids","summary":"HTTP::Session versions before 0.54 for Perl defaults to using insecurely generated session ids.\n\nHTTP::Session defaults to using HTTP::Session::ID::SHA1 to generate session ids using a SHA-1 hash seeded with the built-in rand function, the high resolution epoch time, and the PID. The PID will come from a small set of numbers, and the epoch time may be guessed, if it is not leaked from the HTTP Date header. The built-in rand function is unsuitable for cryptographic usage.\n\nThe distribution includes HTTP::session::ID::MD5 which contains a similar flaw, but uses the MD5 hash instead.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"HTTP::Session versions before 0.54 for Perl defaults to using insecurely generated session ids.\n\nHTTP::Session defaults to using HTTP::Session::ID::SHA1 to generate session ids using a SHA-1 hash seeded with the built-in rand function, the high resolution epoch time, and the PID. The PID will come from a small set of numbers, and the epoch time may be guessed, if it is not leaked from the HTTP Date header. The built-in rand function is unsuitable for cryptographic usage.\n\nThe distribution includes HTTP::session::ID::MD5 which contains a similar flaw, but uses the MD5 hash instead.","source":"cvelist"},{"lang":"es","text":"Las versiones de HTTP::Session hasta la 0.53 para Perl por defecto utilizan identificadores de sesión generados de forma insegura.\n\nHTTP::Session por defecto utiliza HTTP::Session::ID::SHA1 para generar identificadores de sesión usando un hash SHA-1 sembrado con la función rand incorporada, el tiempo de época de alta resolución y el PID. El PID provendrá de un pequeño conjunto de números, y el tiempo de época puede ser adivinado, si no se filtra del encabezado HTTP Date. La función rand incorporada es inadecuada para uso criptográfico.\n\nLa distribución incluye HTTP::session::ID::MD5 que contiene una falla similar, pero utiliza el hash MD5 en su lugar.","source":"nvd"}],"published":"2026-03-28T18:52:39.917Z","modified":"2026-06-29T07:16:25.093Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-338","CWE-340"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"0.54","status":"affected"}],"vendor":"KTAT","product":"HTTP::Session","package":"http-session","repo":"https://github.com/tokuhirom/http-session","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"0.53"}],"vendor":"ktat","product":"http::session","cpe":"cpe:2.3:a:ktat:http\\:\\:session:*:*:*:*:*:perl:*:*","source":"nvd"}],"references":[{"url":"https://metacpan.org/release/KTAT/http-session-0.53/source/lib/HTTP/Session/ID/SHA1.pm","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/release/KTAT/http-session-0.53/source/lib/HTTP/Session/ID/MD5.pm","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":["technical-description","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/release/TOKUHIROM/http-session-0.54/changes","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/03/28/5","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-04-01T14:14:27.526Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-3256","url":"https://www.cve.org/CVERecord?id=CVE-2026-3256","licence":"CVE Terms of Use","modified":"2026-06-29T06:50:16.274Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-3256","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3256","licence":"Public domain","modified":"2026-06-29T07:16:25.093Z"}],"updatedAt":"2026-11-25T22:59:17.474Z","epss":{"score":0.00585,"percentile":0.49354,"date":"2026-12-02T12:00:21.000Z"}}