CVE-2024-58040
Crypt::RandomEncryption for Perl uses insecure rand() function during encryption
Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
9.1
Crypt::RandomEncryption for Perl uses insecure rand() function during encryption
Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.
- Record
CVE-2024-58040- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-338, CWE-331
- Updated
- 2026-11-02
EUVDEUVD-2024-55029
9.1
Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.
- Record
EUVD-2024-55029- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-3fwq-4gv2-9v92
9.1
Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.
Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.
- Record
GHSA-3fwq-4gv2-9v92- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-331
- Updated
- 2026-11-02
NVD
9.1
Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.
- Record
CVE-2024-58040- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-331, CWE-338
- Updated
- 2026-11-02
Affected products
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-58040 is a critical vulnerability (CVSS 9.1) in Qwer Crypt::randomencryption, published September 29, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.24%, the 14th percentile. No source names a fixed version.