CVE-2026-8721
Critical · 9.8CVSS
9.8
EPSS
0.6%
Published
May 17, 2026
CISA due date
—
The 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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-12386 Improper null termination vulnerability in TUBITAK BILGEM Software Technologies Research… CWE-170
- CVE-2026-5067 A remote, unauthenticated attacker can trigger memory corruption in Zephyr's HTTP server… CWE-170
- CVE-2026-42010 A flaw was found in gnutls. CWE-170
- CVE-2026-34462 Sandboxie-Plus is an open source sandbox-based isolation software for Windows. CWE-170
- CVE-2026-34464 Sandboxie-Plus is an open source sandbox-based isolation software for Windows. CWE-170
- CVE-2026-34032 Improper Null Termination, Out-of-bounds Read vulnerability in Apache HTTP Server. CWE-170
- CVE-2026-40334 libgphoto2 is a camera access and control library. CWE-170
- CVE-2026-33948 jq is a command-line JSON processor. CWE-170