Vulnerabilityin CVE-2026-3255.
No public exploit found; not on exploited lists.
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.
- Upgrade HTTP::Session2 to 1.12 or later.
- Can't upgrade today? Upgrade to version 1.12 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 26 Feb 2026CVE ID reserved by CPANSec.
- 27 Feb 2026Published in the CVE List.
- 3 Mar 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Same weakness:
- metacpan.org
- metacpan.org
- metacpan.org release-notes
- github.com patch
- www.openwall.com
Patchminder. CVE-2026-3255: Vulnerability in CVE-2026-3255. https://patchminder.com/cve/cve-2026-3255/ (accessed 5 December 2026).