{"id":"UBUNTU-CVE-2026-8721","details":"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.","modified":"2026-05-20T22:03:10.320736293Z","published":"2026-05-17T19:16:00Z","upstream":["CVE-2026-8721"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-8721"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-8721"},{"type":"REPORT","url":"https://lists.security.metacpan.org/cve-announce/msg/40149249/"},{"type":"REPORT","url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/7b90e88a97f0ebe440032b8116249d1004d7ca6f"},{"type":"REPORT","url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/468712ae04188342b263f057ad65f21a3545013b"},{"type":"REPORT","url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/68904cd32691e223ad9eeff914812b8641eea14b"},{"type":"REPORT","url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/d69393f3207586e3c6f2fe1a21b0b8972b93f8db"},{"type":"REPORT","url":"https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.95/view/Changes.md"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2026/05/17/6"}],"affected":[{"package":{"name":"libcrypt-openssl-pkcs12-perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7-1","0.7-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-openssl-pkcs12-perl","binary_version":"0.7-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8721.json"}},{"package":{"name":"libcrypt-openssl-pkcs12-perl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7-3ubuntu2","0.8-1","0.8-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-openssl-pkcs12-perl","binary_version":"0.8-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8721.json"}},{"package":{"name":"libcrypt-openssl-pkcs12-perl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2-1","1.2-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-openssl-pkcs12-perl","binary_version":"1.2-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8721.json"}},{"package":{"name":"libcrypt-openssl-pkcs12-perl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9-2","1.9-3","1.9-3build1","1.9-3build3","1.9-3build4"],"ecosystem_specific":{"binaries":[{"binary_version":"1.9-3build4","binary_name":"libcrypt-openssl-pkcs12-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8721.json"}},{"package":{"name":"libcrypt-openssl-pkcs12-perl","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.94-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.94-1","binary_name":"libcrypt-openssl-pkcs12-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8721.json"}},{"package":{"name":"libcrypt-openssl-pkcs12-perl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.94-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.94-1","binary_name":"libcrypt-openssl-pkcs12-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8721.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}