Vulnerabilityin JONASBN Crypt::OpenSSL::PKCS12.
No public exploit found; not on exploited lists.
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.
- Upgrade to 1.95 or later.
Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 16 May 2026CVE ID reserved by CPANSec.
- 17 May 2026Published in the CVE List.
- 18 May 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Crypt::OpenSSL::PKCS12 vulnerabilities
Same weakness: Improper null termination
- metacpan.org release-notes
- www.openwall.com
Patchminder. CVE-2026-8721: Vulnerability in JONASBN Crypt::OpenSSL::PKCS12. https://patchminder.com/cve/cve-2026-8721/ (accessed 5 December 2026).