{"id":"CVE-2025-40932","published":"2026-02-26T23:33:37Z","modified":"2026-02-27T18:41:24Z","title":"Apache::SessionX versions through 2.01 for Perl create insecure session id","vendor":"GRICHTER","product":"Apache::SessionX","tier":"tail","description":{"text":"Apache::SessionX versions through 2.01 for Perl create insecure session id.\n\nApache::SessionX generates session ids insecurely. The default session id generator in Apache::SessionX::Generate::MD5 returns a MD5 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. Predicable session ids could allow an attacker to gain access to systems.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00238,"percentile":0.14894,"provenance":"source"},"cwes":[{"id":"CWE-340","name":"Generation of Predictable Numbers or Identifiers"},{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}],"references":[{"url":"https://metacpan.org/release/GRICHTER/Apache-SessionX-2.01/source/SessionX/Generate/MD5.pm#L29","tags":["related"]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":2.98},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"grichter","affectedVersions":[{"vendor":"GRICHTER","product":"Apache::SessionX","versions":["<= 2.01"]}],"solutions":{"items":["Consider alternate solutions like https://metacpan.org/pod/Apache::SessionX::Generate::Random"],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-115","name":"Authentication Bypass"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-02-27T18:39:16.068005Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-208124","exploited":false,"provenance":"source"}}