# CVE-2025-1860: Data::Entropy for Perl uses insecure rand() function for cryptographic functions

- Severity: High 7.7 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-03-28T00:56:08.647Z
- Modified: 2026-06-17T08:39:55.093Z
- Weaknesses: CWE-331, CWE-338
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- Data-Entropy: before 0.008

## References

- <https://perldoc.perl.org/functions/rand>
- <https://metacpan.org/release/ZEFRAM/Data-Entropy-0.007/source/lib/Data/Entropy.pm#L80>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00026.html>

## Sources

- CVE List: [CVE-2025-1860](https://www.cve.org/CVERecord?id=CVE-2025-1860), CVE Terms of Use, modified 2025-09-05
- NVD: [CVE-2025-1860](https://nvd.nist.gov/vuln/detail/CVE-2025-1860), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-1860 · Whole record: https://cve.day/CVE-2025-1860.json · Rebuilt by cve.day 2026-11-25T22:58:55.644Z
