CVE-2025-2814
CVE-2025-2814 is a medium-severity vulnerability with a CVSS 3.x base score of 4.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-329.
Key facts
- Severity: Medium (CVSS 3.x base score 4.0)
- EPSS exploit prediction: 0% (7th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-10846
- Weakness: CWE-329
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-2814?
- 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.
- How severe is CVE-2025-2814?
- CVE-2025-2814 has a CVSS 3.x base score of 4.0, rated medium severity. It is exploitable over local access with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability low.
- Is CVE-2025-2814 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (7th percentile), an estimate of the probability of exploitation in the next 30 days.
- How do I fix CVE-2025-2814?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-2814 have an EU (EUVD) identifier?
- Yes. CVE-2025-2814 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-10846.
- When was CVE-2025-2814 published?
- CVE-2025-2814 was published on 2025-04-13 and last updated on 2026-06-17.
References
- https://github.com/lstein/Lib-Crypt-CBC/commit/37111f7cd894bcec46156ba7f40a49c126ebf535.patch
- 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
Other CWE-329 vulnerabilities
- CVE-2022-46397 — High (CVSS 7.5): FP.io VPP (Vector Packet Processor) 22.10, 22.06, 22.02, 21.10, 21.06, 21.01, 20.09, 20.05, 20.01, 19.08, and 19.04…
- CVE-2024-49783 — Medium (CVSS 5.3): IBM OpenPages with Watson 8.3 and 9.0 could provide weaker than expected security in storage of encrypted data. If…
- CVE-2024-56141 — Medium (CVSS 5.0): Minosoft is an open-source, multi-version Minecraft Java Edition client written in Kotlin. Starting in commit…
- CVE-2026-14969 — Medium (CVSS 4.4): A flaw was found in 389-ds-base where the LDBM backend attribute encryption uses a hardcoded static initialization…
- CVE-2022-29054 — Low (CVSS 3.3): A missing cryptographic steps vulnerability [CWE-325] in the functions that encrypt the DHCP and DNS keys in Fortinet…