CVE-2026-8721
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.
Scoring
- Severity
- CRITICAL
- CVSS base score
- 9.8
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS probability
- 0.45%
- CWE
- CWE-170
- Published
- 2026-05-17
- Last modified
- 2026-05-18
Affected products
- JONASBN Crypt::OpenSSL::PKCS12
Weakness type
Related vulnerabilities
- CVE-2026-73324 — VLC media player 3.0.0 through 3.0.23 Heap Out-of-Bounds Read via Unterminated RealRTSP Response Line
- CVE-2026-78506 — Microsoft Office Word Information Disclosure Vulnerability
- CVE-2026-70587 — Windows Remote Desktop Protocol Information Disclosure Vulnerability
- CVE-2026-45798 — Wazuh: Pre-auth stack-buffer-overflow in compare_wazuh_versions reachable from wazuh-authd (TCP/1515) via crafted enrollment V: field
- CVE-2026-44452 — h2o is vulnerable to heap overrun
- CVE-2026-12386 — Buffer Overflow in TUBITAK BILGEM's Pardus Pen
- CVE-2026-55738 — Stack Buffer Overflow in rxi/microtar raw_to_header() via non-null-terminated TAR name field
- CVE-2026-5067 — Out-of-bounds read/write in HTTP WebSocket upgrade via non-null-terminated Sec-WebSocket-Key