Skip to content

CVE-2026-8721 Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs

CriticalCVSS 9.8 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
OpenSSLUbuntuDebian

Description

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.

Upgrade path

6 packages: 2 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
debian/libcrypt-openssl-pkcs12-perl(Debian 13) = 1.94-1; = 1.95-1; = 1.96-1; = 1.97-1 +3 more No fix listed No fix yet
ubuntu/libcrypt-openssl-pkcs12-perl(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/libcrypt-openssl-pkcs12-perl(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/libcrypt-openssl-pkcs12-perl(Ubuntu 26.10) All versions No fix listed No fix yet
debian/libcrypt-openssl-pkcs12-perl(Debian 14) < 1.95-1; = 1.94-1 1.95-1 Fixed
JONASBN Crypt::OpenSSL::PKCS12 <= 1.94 after 1.94 Fixed

Affected products

ProductAffected versionsFixed in
JONASBN Crypt::OpenSSL::PKCS12 <= 1.94 No fix listed
debian/libcrypt-openssl-pkcs12-perl(Debian:13) All versions No fix listed
debian/libcrypt-openssl-pkcs12-perl(Debian:13) = 1.94-1 No fix listed
debian/libcrypt-openssl-pkcs12-perl(Debian:13) = 1.95-1 No fix listed
debian/libcrypt-openssl-pkcs12-perl(Debian:13) = 1.96-1 No fix listed
debian/libcrypt-openssl-pkcs12-perl(Debian:13) = 1.97-1 No fix listed
debian/libcrypt-openssl-pkcs12-perl(Debian:13) = 1.98-1 No fix listed
debian/libcrypt-openssl-pkcs12-perl(Debian:13) = 1.99-1 No fix listed
debian/libcrypt-openssl-pkcs12-perl(Debian:14) < 1.95-1 1.95-1
debian/libcrypt-openssl-pkcs12-perl(Debian:14) = 1.94-1 No fix listed
ubuntu/libcrypt-openssl-pkcs12-perl(Ubuntu:24.04) All versions No fix listed
ubuntu/libcrypt-openssl-pkcs12-perl(Ubuntu:26.04) All versions No fix listed
ubuntu/libcrypt-openssl-pkcs12-perl(Ubuntu:26.10) All versions No fix listed

References