CVE-2025-1860

Data::Entropy for Perl uses insecure rand() function for cryptographic functions

State
Published
Severity
7.7 High
Published
Mar 28, 2025
Updated
Sep 5, 2025
Reserved
Mar 3, 2025

Read the record on cve.org

Description

Data::Entropy for Perl 0.007 and earlier use the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.

Scores

CVSSScoreVectorSource
3.17.7 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NCISA-ADP

Weaknesses

  • CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
  • CWE-331 Insufficient Entropy

Affected Products

ProductVersions
Data::EntropyZEFRAM
  • before 0.008Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.