CVE-2026-3255: HTTP::Session2 versions before 1.12 for Perl may generate weak session ids using the rand() function
TOKUHIROM · HTTP::Session2
Fixed in 1.12 · Affected: TOKUHIROM HTTP::Session2 before 1.12 · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 40% of scored CVEs
DescriptionCVE.org
HTTP::Session2 versions before 1.12 for Perl for Perl may generate weak session ids using the rand() function. The HTTP::Session2 session id generator returns a SHA-1 hash seeded with the built-in rand function, the 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. HTTP::Session2 after version 1.02 will attempt to use the /dev/urandom device to generate a session id, but if the device is unavailable (for example, under Windows), then it will revert to the insecure method described above.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- TOKUHIROM · HTTP::Session2before 1.12
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- TOKUHIROM
- Published
- February 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-3255 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-340cwe.mitre.org
- Release notesmetacpan.org
- Patchgithub.com
- metacpan.org/release/TOKUHIROM/HTTP-Session2-1.11/source/lib/HTTmetacpan.org
- metacpan.org/release/TOKUHIROM/HTTP-Session2-1.01/source/lib/HTTmetacpan.org
- openwall.com/lists/oss-security/2026/02/27/12openwall.com