CVE-2026-3256 json
HTTP::Session versions before 0.54 for Perl defaults to using insecurely generated session ids
published 7mo ago modified 4mo ago also EUVD-2026-16939
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
HTTP::Session versions before 0.54 for Perl defaults to using insecurely generated session ids.
HTTP::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.
The distribution includes HTTP::session::ID::MD5 which contains a similar flaw, but uses the MD5 hash instead.
Patch / fix
- KTAT HTTP::Session 0.54
Is CVE-2026-3256 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 7mo ago
Exploit prediction
0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- KTAT HTTP::Session
Classification
References
-
metacpan.org
/release/KTAT/http-session-0.53/source/lib/HTTP/Session/ID/SHA1.pm
product
-
metacpan.org
/release/KTAT/http-session-0.53/source/lib/HTTP/Session/ID/MD5.pm
product
-
security.metacpan.org
/docs/guides/random-data-for-security.html
technical-description, third-party-advisory
-
metacpan.org
/release/TOKUHIROM/http-session-0.54/changes
release-notes
-
openwall.com
/lists/oss-security/2026/03/28/5
mailing-list, third-party-advisory
Sources
- CVE List CVE-2026-3256
- NVD CVE-2026-3256
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.