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.
References
Configurations
No configuration.
History
18 May 2026, 13:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.8 |
17 May 2026, 22:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
17 May 2026, 19:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-17 19:16
Updated : 2026-05-18 17:40
NVD link : CVE-2026-8721
Mitre link : CVE-2026-8721
CVE.ORG link : CVE-2026-8721
JSON object : View
Products Affected
No product.
CWE
CWE-170
Improper Null Termination
