CVE Explorer
CVE-2026-8721
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"Crypt-OpenSSL-PKCS12","product":"Crypt::OpenSSL::PKCS12","programFiles":["PKCS12.xs"],"programRoutines":[{"name":"Crypt::OpenSSL::PKCS12::mac_ok"},{"name":"Crypt::OpenSSL::PKCS12::changepass"},{"name":"Crypt::OpenSSL::PKCS12::create"},{"name":"Crypt::OpenSSL::PKCS12::create_as_string"},{"name":"Crypt::OpenSSL::PKCS12::certificate"},{"name":"Crypt::OpenSSL::PKCS12::ca_certificate"},{"name":"Crypt::OpenSSL::PKCS12::private_key"},{"name":"Crypt::OpenSSL::PKCS12::info_as_hash"},{"name":"Crypt::OpenSSL::PKCS12::…
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e8bfb63405056137730e9eef8a16a57a7bfe650bbe5095030c2dd06ef74bdbc1 · sha256:fd8f3c1896ec670e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e8bfb63405056137730e9eef8a16a57a7bfe650bbe5095030c2dd06ef74bdbc1 · sha256:fd8f3c1896ec670e… · /containers/adp/1/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-170","description":"CWE-170 Improper Null Termination","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e8bfb63405056137730e9eef8a16a57a7bfe650bbe5095030c2dd06ef74bdbc1 · sha256:fd8f3c1896ec670e… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/05/17/6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e8bfb63405056137730e9eef8a16a57a7bfe650bbe5095030c2dd06ef74bdbc1 · sha256:fd8f3c1896ec670e… · /containers/adp/0/references/0
{"tags":["release-notes"],"url":"https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.95/view/Changes.md"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e8bfb63405056137730e9eef8a16a57a7bfe650bbe5095030c2dd06ef74bdbc1 · sha256:fd8f3c1896ec670e… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.