{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-3255","published":"2026-02-27T20:21:41.180000Z","last_modified":"2026-06-17T10:43:17.030000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-338","CWE-340"],"cpes":[{"criteria":"cpe:2.3:a:tokuhirom:http\\:\\:session2:*:*:*:*:*:perl:*:*","part":"a","vendor":"tokuhirom","product":"http::session2","version_end_excluding":"1.12"}],"cpes_truncated":false,"vendors":["tokuhirom"],"products":["tokuhirom/http-session2"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2026-3255/","html_en":"/en/cve/CVE-2026-3255/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-3255","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-3255"},"untrusted":{"vendor_name":"Tokuhirom","product_name":"Http::session2","desc_en":"HTTP::Session2 versions before 1.12 for Perl for Perl may generate weak session ids using the rand() function.\n\nThe 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.\n\nHTTP::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":[{"untrusted_vendor":"TOKUHIROM","untrusted_product":"HTTP::Session2","versions":[]}],"references":[{"url":"https://github.com/tokuhirom/HTTP-Session2/commit/9cfde4d7e0965172aef5dcfa3b03bb48df93e636.patch","tags":["Patch"]},{"url":"https://metacpan.org/release/TOKUHIROM/HTTP-Session2-1.01/source/lib/HTTP/Session2/ServerStore.pm#L68","tags":["Issue Tracking"]},{"url":"https://metacpan.org/release/TOKUHIROM/HTTP-Session2-1.11/source/lib/HTTP/Session2/Random.pm#L35","tags":["Issue Tracking"]},{"url":"https://metacpan.org/release/TOKUHIROM/HTTP-Session2-1.12/changes","tags":["Release Notes"]},{"url":"http://www.openwall.com/lists/oss-security/2026/02/27/12","tags":["Mailing List","Third Party Advisory"]}]}}