CVE-2025-2814

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

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.

Remediation

Solution:

  • 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

Category

4.0
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.02%
Affected: LDS Crypt::CBC
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-2814?
CVE-2025-2814 has been scored as a medium severity vulnerability.
How to fix CVE-2025-2814?
To fix CVE-2025-2814: 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
Is CVE-2025-2814 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-2814 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-2814?
CVE-2025-2814 affects LDS Crypt::CBC.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.