Skip to content
OpenAdvisories
High · 7.7 CVE-2025-1860 EUVD-2025-8533GHSA-g3hm-j3wc-jcg9

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

Published Mar 28, 2025 · Updated Sep 5, 2025 · 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.

Affected products

VendorProductAffectedFixed
ZEFRAM Data::Entropy < 0.008 0.008

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libdata-entropy-perl 0.008-1 —
Debian 13 libdata-entropy-perl 0.008-1 —
Debian 12 libdata-entropy-perl 0.007-4+deb12u1 —
Debian 11 libdata-entropy-perl 0.007-3.1+deb11u1 DLA-4100-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libdata-entropy-perl No fix yet —
Ubuntu 26.04 LTS libdata-entropy-perl No fix yet —
Ubuntu 25.10 libdata-entropy-perl No fix yet —
Ubuntu 24.04 LTS libdata-entropy-perl No fix yet —
Ubuntu 22.04 LTS libdata-entropy-perl No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libdata-entropy-perl No fix yet —
Ubuntu 18.04 LTS libdata-entropy-perl No fix yet —
Ubuntu 16.04 LTS libdata-entropy-perl No fix yet —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP6 perl-Data-Entropy 0.8.0-bp156.4.3.1 openSUSE-SU-2025:0123-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-Data-Entropy 0.8.0-1.1 openSUSE-SU-2025:14960-1
openSUSE Leap 15.6 perl-Data-Entropy 0.8.0-bp156.4.3.1 openSUSE-SU-2025:0123-1

Advisories 3

References