CVE Explorer
CVE-2026-3256
HTTP::Session versions before 0.54 for Perl defaults to using insecurely generated session ids.
HTTP::Session defaults to using HTTP::Session::ID::SHA1 to generate session ids using a SHA-1 hash seeded with the built-in rand function, the high resolution 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.
The distribution includ
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-338","description":"CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:86ecb85d1922f029c2f0e39f856a8aabf4dca1d9e86a047e625e6dbb48f52099 · sha256:bb46d82103413e06… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-340","description":"CWE-340 Generation of Predictable Numbers or Identifiers","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:86ecb85d1922f029c2f0e39f856a8aabf4dca1d9e86a047e625e6dbb48f52099 · sha256:bb46d82103413e06… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"http-session","product":"HTTP::Session","programRoutines":[{"name":"HTTP::Session::ID::SHA1::generate_id"},{"name":"HTTP::Session::ID::MD5::generate_id"}],"repo":"https://github.com/tokuhirom/http-session","vendor":"KTAT","versions":[{"lessThan":"0.54","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:86ecb85d1922f029c2f0e39f856a8aabf4dca1d9e86a047e625e6dbb48f52099 · sha256:bb46d82103413e06… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:86ecb85d1922f029c2f0e39f856a8aabf4dca1d9e86a047e625e6dbb48f52099 · sha256:bb46d82103413e06… · /containers/adp/1/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-338","description":"CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:86ecb85d1922f029c2f0e39f856a8aabf4dca1d9e86a047e625e6dbb48f52099 · sha256:bb46d82103413e06… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-340","description":"CWE-340 Generation of Predictable Numbers or Identifiers","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:86ecb85d1922f029c2f0e39f856a8aabf4dca1d9e86a047e625e6dbb48f52099 · sha256:bb46d82103413e06… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/03/28/5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:86ecb85d1922f029c2f0e39f856a8aabf4dca1d9e86a047e625e6dbb48f52099 · sha256:bb46d82103413e06… · /containers/adp/0/references/0
{"url":"https://metacpan.org/release/KTAT/http-session-0.53/source/lib/HTTP/Session/ID/MD5.pm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:86ecb85d1922f029c2f0e39f856a8aabf4dca1d9e86a047e625e6dbb48f52099 · sha256:bb46d82103413e06… · /containers/cna/references/1
{"url":"https://metacpan.org/release/KTAT/http-session-0.53/source/lib/HTTP/Session/ID/SHA1.pm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:86ecb85d1922f029c2f0e39f856a8aabf4dca1d9e86a047e625e6dbb48f52099 · sha256:bb46d82103413e06… · /containers/cna/references/0
{"tags":["release-notes"],"url":"https://metacpan.org/release/TOKUHIROM/http-session-0.54/changes"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:86ecb85d1922f029c2f0e39f856a8aabf4dca1d9e86a047e625e6dbb48f52099 · sha256:bb46d82103413e06… · /containers/cna/references/3
{"tags":["technical-description"],"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:86ecb85d1922f029c2f0e39f856a8aabf4dca1d9e86a047e625e6dbb48f52099 · sha256:bb46d82103413e06… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.