CVE-2025-1860

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

Published Mar 28, 2025 CVSS 3.1 · 7.7 High EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Solution

Version 0.008 was released to address the issue and this module has been marked as deprecated. Users should upgrade and plan to migrate to a different module.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4100-1 libdata-entropy-perl security update
EUVD EUVD EUVD-2025-8533 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.
History
Type Values Removed Values Added
Weaknesses CWE-331
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Data::Entropy for Perl uses insecure rand() function for cryptographic functions
Weaknesses CWE-338
References

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Sep 5, 2025, 1:20 PM
Reserved
Mar 3, 2025, 12:08 AM
Status
Deferred
Published
Mar 28, 2025, 1:15 AM
Modified
Jun 17, 2026, 8:39 AM