Vulnerability · Published Mar 28, 2025 · Assigned by CPANSec
CVE-2025-1860Data::Entropy for Perl uses insecure rand() function for cryptographic functions
High 7.7
In plain English
A high-severity security flaw in Data::Entropy from ZEFRAM. 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 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.7High
Exploit odds (30 days)0.2%top 91.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libdata-entropy-perl | 0.007-4+deb12u1 | DEBIAN-CVE-2025-1860 |
| Debian:13 | libdata-entropy-perl | 0.008-1 | DEBIAN-CVE-2025-1860 |
| Debian:14 | libdata-entropy-perl | 0.008-1 | DEBIAN-CVE-2025-1860 |
| Ubuntu:22.04:LTS | libdata-entropy-perl | no fix listed | UBUNTU-CVE-2025-1860 |
| Ubuntu:24.04:LTS | libdata-entropy-perl | no fix listed | UBUNTU-CVE-2025-1860 |
| Ubuntu:25.10 | libdata-entropy-perl | no fix listed | UBUNTU-CVE-2025-1860 |
| Ubuntu:26.04:LTS | libdata-entropy-perl | no fix listed | UBUNTU-CVE-2025-1860 |
| Ubuntu:26.10 | libdata-entropy-perl | no fix listed | UBUNTU-CVE-2025-1860 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ZEFRAM | Data::Entropy | 0 – before 0.008 |
Weakness: CWE-338, CWE-331 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N