Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/lstein/Lib-Crypt-CBC/commit/37111f7cd894bcec46156ba7f40a49c12
- https://metacpan.org/dist/Crypt-CBC/source/lib/Crypt/CBC.pm#L777
- https://perldoc.perl.org/functions/rand
- https://security.metacpan.org/docs/guides/random-data-for-security.html
FAQ
What is CVE-2025-2814?
CVE-2025-2814 is a vulnerability with a CVSS score of 4.0 (MEDIUM). 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...
How severe is CVE-2025-2814?
CVE-2025-2814 has been rated MEDIUM with a CVSS base score of 4.0/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-2814?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.