What’s Vulnerable › Vulnerabilities
CVE-2024-58040: Crypt::RandomEncryption for Perl uses insecure rand() function during encryption
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-30 · updated 2026-06-17
- Weakness: CWE-331
Description
Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.
Affected products
References
- https://metacpan.org/release/QWER/Crypt-RandomEncryption-0.01/source/lib/Crypt/RandomEncryption.pm#L33
- https://perldoc.perl.org/functions/rand
- https://security.metacpan.org/docs/guides/random-data-for-security.html
Get alerted when CVE-2024-58040 or the next vulnerability affects your stack