Libcrypt cbc perl: Crypt::CBC versions between 1.21 and 3.05 for Perl may use the rand() function as the default
Affects libcrypt-cbc-perlSource GCVE Database
Not known to be exploited · CVSS 4.0 Medium.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 12 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10libcrypt-cbc-perlpkg:deb/ubuntu/libcrypt-cbc-perl?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlibcrypt-cbc-perlpkg:deb/ubuntu/libcrypt-cbc-perl?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10libcrypt-cbc-perlpkg:deb/ubuntu/libcrypt-cbc-perl?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlibcrypt-cbc-perlpkg:deb/ubuntu/libcrypt-cbc-perl?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlibcrypt-cbc-perlpkg:deb/ubuntu/libcrypt-cbc-perl?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSlibcrypt-cbc-perlpkg:deb/ubuntu/libcrypt-cbc-perl?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2025-2814 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-2814 (opens in a new tab)
- lists.security.metacpan.org/cve-announce/msg/28699380/ (opens in a new tab)
- metacpan.org/dist/Crypt-CBC/source/lib/Crypt/CBC.pm (opens in a new tab)
- perldoc.perl.org/functions/rand (opens in a new tab)
- security.metacpan.org/docs/guides/random-data-for-security.html (opens in a new tab)