Skip to content
Fencer Intel
high 7.7

CVE-2025-1860 json

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

published last yr. modified 4mo ago also EUVD-2025-8533

cvss
7.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 8%
public exploits
0
none known

Summary

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.

Patch / fix

  • ZEFRAM Data::Entropy 0.008
  • libdata-entropy-perl Debian 12 0.007-4+deb12u1
  • libdata-entropy-perl Debian 14, Debian 13 0.008-1

debian advisories DEBIAN-CVE-2025-1860

  • perl-Data-Entropy Package Hub 15 SP6, openSUSE Leap 15.6 0.8.0-bp156.4.3.1
  • perl-Data-Entropy openSUSE Tumbleweed 0.8.0-1.1

opensuse advisories openSUSE-SU-2025:0123-1openSUSE-SU-2025:14960-1

Is CVE-2025-1860 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-1860 updated cvss 5.3

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

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-11).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.7 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CNA 3.1 7.7 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected products

  • ZEFRAM Data::Entropy

Classification

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

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.