CVE-2026-3255
Last modified
CVE-2026-3255 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Tokuhirom | Http\ | < 1.12 | Session2 |
References
- http://www.openwall.com/lists/oss-security/2026/02/27/12Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-3255?
How severe is CVE-2026-3255?
How do I fix CVE-2026-3255?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-32542Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2026-32543Missing Authorization vulnerability in CyberChimps Responsiv…5.3
- CVE-2026-32544Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2026-32545Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2026-32546Missing Authorization vulnerability in StellarWP Restrict Co…7.5
- CVE-2026-32548Unauthenticated Broken Access Control in SureCart <= 4.6.2 v…5.3
- CVE-2026-3256HTTP::Session versions before 0.54 for Perl defaults to usin…9.8
- CVE-2026-32562Missing Authorization vulnerability in WP Folio Team PPWP pa…5.4
- CVE-2026-32565Missing Authorization vulnerability in Ajay Contextual Relat…5.3
- CVE-2026-32567Improper Limitation of a Pathname to a Restricted Directory …6.8
- CVE-2026-3257UnQLite versions through 0.06 for Perl uses a potentially in…9.8
- CVE-2026-32573Improper Control of Generation of Code ('Code Injection') vu…9.1
Are you affected by CVE-2026-3255?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
