CVE-2025-2814: Crypt::CBC versions between 1.21 and 3.05 for Perl may use insecure rand() function for cryptographic functions

Published Apr 12, 2025
·
Updated

Crypt::CBC versions between 1.21 and 3.05 for Perl may use the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.

This issue affects operating systems where "/dev/urandom'" is unavailable.  In that case, Crypt::CBC will fallback to use the insecure rand() function.

Affected Software

1 affected component
CPAN Crypt::CBC>=1.21<=3.05

Remediation

Information

Users should update to a fixed version, or apply the patch provided in the references section, or use a patched version provided by their OS distribution

Event History

Apr 12, 2025
CVE Published
via MITRE·11:41 PM
Data Sourced
via MITRE·11:41 PM
RemedyDescriptionWeakness
Apr 13, 2025
Data Sourced
via NVD·12:15 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-2814?

CVE-2025-2814 is considered a critical vulnerability due to its impact on cryptographic security.

2

How do I fix CVE-2025-2814?

To remediate CVE-2025-2814, upgrade Crypt::CBC to a version greater than 3.04.

3

Which versions are affected by CVE-2025-2814?

CVE-2025-2814 affects Crypt::CBC versions between 1.21 and 3.04.

4

What problems could arise from CVE-2025-2814?

CVE-2025-2814 can lead to inadequate entropy in cryptographic operations, compromising data security.

5

Which systems are most at risk for CVE-2025-2814?

Systems that lack access to '/dev/urandom' are particularly vulnerable to CVE-2025-2814.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203