Vulnerability · Published Sep 29, 2025 · Assigned by CPANSec
CVE-2024-58040Crypt::RandomEncryption for Perl uses insecure rand() function during encryption
Critical 9.1
In plain English
A critical-severity security flaw in Crypt::RandomEncryption from QWER. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities).
Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)0.2%top 85.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| QWER | Crypt::RandomEncryption | 0.01 – through * |
Weakness: CWE-338, CWE-331 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N