Paper/Archive/CVE-2026-8721

CVE-2026-8721

JONASBN Crypt::OpenSSL::PKCS12 — Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
Crypt::OpenSSL::PKCS12≤ 1.94–CNA

Scores by source

CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refmetacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.95/view/Changes.mdrefopenwall.com/lists/oss-security/2026/05/17/6