{"id":"CVE-2026-8721","aliases":["DEBIAN-CVE-2026-8721","EUVD-2026-30707","GHSA-hh8h-hxcj-2pm7","UBUNTU-CVE-2026-8721"],"status":"published","title":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs","description":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs.\n\nPassword parameters in PKCS12.xs are declared char *, which routes through Perl's default typemap to SvPV_nolen.  The Perl length is discarded.\n\nThe 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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-11","score":0.00447,"percentile":0.39325,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-170"],"published":"2026-05-17T18:51:41Z","modified":"2026-10-28T02:30:23Z","fixes":[{"ecosystem":"Debian:14","package":"libcrypt-openssl-pkcs12-perl","fixed_in":["1.95-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:13","package":"libcrypt-openssl-pkcs12-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.94-1","1.95-1","1.96-1","1.97-1","1.98-1","1.99-1"]},{"source":"osv","ecosystem":"Debian:14","package":"libcrypt-openssl-pkcs12-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.95-1"}]}],"versions":["1.94-1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libcrypt-openssl-pkcs12-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7-1","0.7-1build1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libcrypt-openssl-pkcs12-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7-3ubuntu2","0.8-1","0.8-1build1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libcrypt-openssl-pkcs12-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2-1","1.2-1build1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libcrypt-openssl-pkcs12-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9-2","1.9-3","1.9-3build1","1.9-3build3","1.9-3build4"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libcrypt-openssl-pkcs12-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.94-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libcrypt-openssl-pkcs12-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.94-1","1.95-1","1.96-1","1.97-1","1.99-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libcrypt-openssl-pkcs12-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.94-1"]}],"products":[{"vendor":"jonasbn","product":"crypt::openssl::pkcs12"}],"references":[{"url":"https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.95/view/Changes.md","tags":["release-notes","advisory","report"]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/17/6","tags":["web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8721","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-hh8h-hxcj-2pm7"},{"url":"https://cpan.org/modules","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8721.json","tags":["advisory"]},{"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-8721","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-8721","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-8721","tags":["report"]},{"url":"https://lists.security.metacpan.org/cve-announce/msg/40149249/","tags":["report"]},{"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/7b90e88a97f0ebe440032b8116249d1004d7ca6f","tags":["report"]},{"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/468712ae04188342b263f057ad65f21a3545013b","tags":["report"]},{"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/68904cd32691e223ad9eeff914812b8641eea14b","tags":["report"]},{"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/d69393f3207586e3c6f2fe1a21b0b8972b93f8db","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-8721","title":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs","description":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs.\n\nPassword parameters in PKCS12.xs are declared char *, which routes through Perl's default typemap to SvPV_nolen.  The Perl length is discarded.\n\nThe 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.","status":"published","published":"2026-05-17T18:51:41.42Z","modified":"2026-05-18T12:56:41.486Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-170"],"updated_at":"2026-11-02T13:48:02.226896Z"}],"euvd":[{"id":"EUVD-2026-30707","description":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs.\n\nPassword parameters in PKCS12.xs are declared char *, which routes through Perl's default typemap to SvPV_nolen.  The Perl length is discarded.\n\nThe 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.","status":"published","published":"2026-05-17T18:51:41Z","modified":"2026-05-18T12:56:41Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T18:21:16.642345Z"}],"ghsa":[{"id":"GHSA-hh8h-hxcj-2pm7","title":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs.\n...","description":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs.\n\nPassword parameters in PKCS12.xs are declared char *, which routes through Perl's default typemap to SvPV_nolen.  The Perl length is discarded.\n\nThe 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.","status":"published","published":"2026-05-17T21:30:28Z","modified":"2026-05-18T15:31:41Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-170"],"updated_at":"2026-11-02T15:08:12.004262Z"}],"nvd":[{"id":"CVE-2026-8721","description":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs.\n\nPassword parameters in PKCS12.xs are declared char *, which routes through Perl's default typemap to SvPV_nolen.  The Perl length is discarded.\n\nThe 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.","status":"published","published":"2026-05-17T19:16:25.31Z","modified":"2026-10-25T23:10:00.167Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-170"],"updated_at":"2026-11-02T14:12:19.39893Z"}],"osv":[{"id":"CVE-2026-8721","title":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs","description":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs.\n\nPassword parameters in PKCS12.xs are declared char *, which routes through Perl's default typemap to SvPV_nolen.  The Perl length is discarded.\n\nThe 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.","status":"published","published":"2026-05-17T18:51:41.42Z","modified":"2026-10-28T02:30:23.730313965Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-170"],"updated_at":"2026-11-02T15:45:19.210277Z"},{"id":"DEBIAN-CVE-2026-8721","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.","status":"published","published":"2026-05-17T19:16:25.31Z","modified":"2026-10-26T11:47:33.567297768Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:46:05.022702Z"},{"id":"UBUNTU-CVE-2026-8721","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.","status":"published","published":"2026-05-17T19:16:00Z","modified":"2026-10-17T13:01:14.214976772Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T16:57:24.828975Z"}]}}
