CVE-2026-8721: Libcrypt openssl pkcs12 perl · Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates
Affects libcrypt-openssl-pkcs12-perlSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical.
Data as of 24 Nov 2026, 21:16 UTC
Contested
Critical score, yet low EPSS after six months- EPSS
- 0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 17 May 2026
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-openssl-pkcs12-perlpkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlibcrypt-openssl-pkcs12-perlpkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10libcrypt-openssl-pkcs12-perlpkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlibcrypt-openssl-pkcs12-perlpkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSlibcrypt-openssl-pkcs12-perlpkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSlibcrypt-openssl-pkcs12-perlpkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=bionicOther 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::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs. Password parameters in PKCS12.xs are declared char *, which routes through Perl's default typemap to SvPV_nolen. The Perl length is discarded. The C code (or OpenSSL internally) calls strlen() on the buffer. Any password byte at or after the first NULL is silently dropped. Binary / KDF-derived / HMAC-derived passwords lose entropy without any warnings.
References
- ubuntu.com/security/CVE-2026-8721 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-8721 (opens in a new tab)
- lists.security.metacpan.org/cve-announce/msg/40149249/ (opens in a new tab)
- github.com/dsully/perl-crypt-openssl-pkcs12/commit/7b90e88a97f0ebe440032b8116249d1004d7ca6f (opens in a new tab)
- github.com/dsully/perl-crypt-openssl-pkcs12/commit/468712ae04188342b263f057ad65f21a3545013b (opens in a new tab)
- github.com/dsully/perl-crypt-openssl-pkcs12/commit/68904cd32691e223ad9eeff914812b8641eea14b (opens in a new tab)
- github.com/dsully/perl-crypt-openssl-pkcs12/commit/d69393f3207586e3c6f2fe1a21b0b8972b93f8db (opens in a new tab)
- metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.95/view/Changes.md (opens in a new tab)
- openwall.com/lists/oss-security/2026/05/17/6 (opens in a new tab)