CVE-2025-40924
Published: 17 July 2025
Summary
CVE-2025-40924 is a medium-severity PRNG (CWE-338) vulnerability in Metacpan (inferred from references). Its CVSS base score is 6.5 (Medium).
Operationally, ranked at the 49.5th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-21775
Vulnerability details
Catalyst::Plugin::Session before version 0.44 for Perl generates session ids insecurely. The session id is generated from a (usually SHA-1) hash of a simple counter, the epoch time, the built-in rand function, the PID and the current Catalyst context. This information…
more
is of low entropy. 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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Cryptographic key management standards require cryptographically strong PRNGs for key material, blocking use of weak generators.
Security associations share details on cryptographically weak PRNGs, helping avoid their implementation in security-critical functions.