PT-2026-41583 · Cpan · Crypt::Openssl::Pkcs12
Published
2026-05-17
·
Updated
2026-05-20
·
CVE-2026-8721
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Crypt::OpenSSL::PKCS12 versions prior to 1.95
Description
The software truncates passwords containing embedded NULL characters. In the
PKCS12.xs file, password parameters are declared as char *, which utilizes Perl's default typemap SvPV nolen, causing the Perl length to be discarded. Consequently, the C code or OpenSSL internally invokes the strlen() function on the buffer, resulting in any password bytes at or after the first NULL being silently dropped. This leads to a loss of entropy for binary, KDF-derived, or HMAC-derived passwords without any warnings.Recommendations
Update to version 1.95 or later.
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Crypt::Openssl::Pkcs12