CVE-2026-8721
published critical CVSS 3.1 · 9.8Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| JONASBN | — | Crypt-OpenSSL-PKCS12Crypt::OpenSSL::PKCS12 · 0 through 1.94 · Other versions: unaffected | Affected | Not stated | CPANSec |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| JONASBN | Crypt::OpenSSL::PKCS12 | 0 through 1.94 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-170 CWE-170 Improper Null Termination
References
2Provider assertions
3CPANSec · cna
Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- faafbc8d1e87bfe5ca9411495a96cd476699a5a01fbc32dde11c8e231f4ccd57
- Ingested
- 23 Sep 2026, 09:39:07 UTC
- Source record
- Official CVE record