CVEfocus › CVE database › CVE-2026-8721

CVE-2026-8721Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded…

CVSS 9.8 CriticalEPSS 0.6% (higher than 40% of CVEs)Published 2026-05-17Updated 2026-05-18Assigner: CPANSec

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.

CWE-170

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
5Fix pending
2Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libcrypt-openssl-pkcs12-perlFix pendingUBUNTU-CVE-2026-8721
Ubuntu 26.04libcrypt-openssl-pkcs12-perlUnder investigationUBUNTU-CVE-2026-8721
Ubuntu 25.10libcrypt-openssl-pkcs12-perlWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-8721
Ubuntu 24.04libcrypt-openssl-pkcs12-perlUnder investigationUBUNTU-CVE-2026-8721
Ubuntu 20.04libcrypt-openssl-pkcs12-perlFix pendingUBUNTU-CVE-2026-8721
Ubuntu 18.04libcrypt-openssl-pkcs12-perlFix pendingUBUNTU-CVE-2026-8721
Ubuntu 16.04libcrypt-openssl-pkcs12-perlFix pendingUBUNTU-CVE-2026-8721
Debian 14libcrypt-openssl-pkcs12-perlFixed1.95-1DEBIAN-CVE-2026-8721
Debian 13libcrypt-openssl-pkcs12-perlFix pendingDEBIAN-CVE-2026-8721

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to 1.95 or later.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.