{"id":"CVE-2026-8721","published":"2026-05-17T18:51:41Z","modified":"2026-05-18T12:56:41Z","title":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs","vendor":"JONASBN","product":"Crypt::OpenSSL::PKCS12","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00447,"percentile":0.39757,"provenance":"source"},"cwes":[{"id":"CWE-170","name":"Improper Null Termination"}],"references":[{"url":"https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.95/view/Changes.md","tags":["release-notes"]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/17/6","tags":[]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":7.95},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"jonasbn","affectedVersions":[{"vendor":"JONASBN","product":"Crypt::OpenSSL::PKCS12","versions":["<= 1.94"]}],"solutions":{"items":["Upgrade to 1.95 or later."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-18T12:56:25.907387Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-30707","exploited":false,"provenance":"source"}}