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

High 7.7 Published Updated

The Data::Entropy Perl library uses insecure random number generation for cryptographic functions, potentially compromising security.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-1860?

CVE-2025-1860 is a high-severity vulnerability in ZEFRAM Data::Entropy, published on 28 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.

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.

Weakness: CWE-338, CWE-331

Which versions are affected by CVE-2025-1860?

Linux distribution packages (3)
perl-Data-Entropy SUSE:Package Hub 15 SP6All versions0.8.0-bp156.4.3.1
perl-Data-Entropy openSUSE:Leap 15.6All versions0.8.0-bp156.4.3.1
perl-Data-Entropy openSUSE:TumbleweedAll versions0.8.0-1.1

How do I fix CVE-2025-1860?

Upgrade to a fixed version.

Is CVE-2025-1860 being exploited?

There is no known exploitation of CVE-2025-1860 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2025-1860, DLA-4100-1, GHSA-g3hm-j3wc-jcg9, MGASA-2025-0279, UBUNTU-CVE-2025-1860, openSUSE-SU-2025:0123-1 and 1 more.

Is CVE-2025-1860 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free