{"id":"CVE-2026-3256","published":"2026-03-28T18:52:39Z","modified":"2026-06-29T06:50:16Z","title":"HTTP::Session versions before 0.54 for Perl defaults to using insecurely generated session ids","vendor":"KTAT","product":"HTTP::Session","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00552,"percentile":0.47027,"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/KTAT/http-session-0.53/source/lib/HTTP/Session/ID/SHA1.pm","tags":[]},{"url":"https://metacpan.org/release/KTAT/http-session-0.53/source/lib/HTTP/Session/ID/MD5.pm","tags":[]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":["technical-description"]},{"url":"https://metacpan.org/release/TOKUHIROM/http-session-0.54/changes","tags":["release-notes"]},{"url":"http://www.openwall.com/lists/oss-security/2026/03/28/5","tags":[]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":9.41},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"ktat","affectedVersions":[{"vendor":"KTAT","product":"HTTP::Session","versions":["< 0.54"]}],"solutions":{"items":["Upgrade to version 0.54 or later. Note that HTTP::Session as of version 0.54 is deprecated. Users should migrate their applications to alternative solutions."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-115","name":"Authentication Bypass"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-01T14:14:27.526725Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-16939","exploited":false,"provenance":"source"}}