Every CVE Search/ Get API key

CVE-2024-58040

Crypt::RandomEncryption for Perl uses insecure rand() function during encryption

9.1 Critical

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

0.24%Up 0.2 points since Sep 30, 2025
90%50%10%1%

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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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

History
RecordedChangedSources
first indexedCVE 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.

References

MoveEnter Open