{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-3255","id":"CVE-2026-3255","title":"HTTP::Session2 versions before 1.12 for Perl may generate weak session ids using the rand() function","description":"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 ","descriptionLong":"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.","published":"2026-02-27T20:12:35.414Z","updated":"2026-10-28T02:30:44.740335219Z","reserved":"2026-02-26T11:43:17.278Z","status":"Analyzed","rejected":false,"assigner":"CPANSec","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"NVD"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"OSV"}],"rating":"medium","products":["TOKUHIROM HTTP::Session2"],"affectedProducts":[{"vendor":"TOKUHIROM","product":"HTTP::Session2","defaultStatus":"unaffected","versions":[{"lessThan":"1.12","status":"affected","version":"0","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-340","CWE-338"],"aliases":[],"references":[{"url":"https://metacpan.org/release/TOKUHIROM/HTTP-Session2-1.11/source/lib/HTTP/Session2/Random.pm#L35","tags":["Issue Tracking","web"]},{"url":"https://metacpan.org/release/TOKUHIROM/HTTP-Session2-1.01/source/lib/HTTP/Session2/ServerStore.pm#L68","tags":["Issue Tracking","web"]},{"url":"https://metacpan.org/release/TOKUHIROM/HTTP-Session2-1.12/changes","tags":["release-notes","Release Notes","advisory"]},{"url":"https://github.com/tokuhirom/HTTP-Session2/commit/9cfde4d7e0965172aef5dcfa3b03bb48df93e636.patch","tags":["patch","Patch","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2026/02/27/12","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://cpan.org/modules","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3255.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3255","tags":["advisory"]},{"url":"https://github.com/tokuhirom/HTTP-Session2","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00461,"epssPercentile":0.40639,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-3255","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3255","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-3255","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-3255","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}