Back to overview

CVE-2026-8721

CRITICAL
9.8
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-8721
State
PUBLISHED
Assigner
CPANSec
Reserved
2026-05-16 01:07 UTC
Published
2026-05-17 18:51 UTC
Last updated
2026-05-18 12:56 UTC
Primary CWE
CWE-170
CWE-170 Improper Null Termination
Vendor / Product
JONASBN / Crypt::OpenSSL::PKCS12
Sources
cve.org  ·  NVD

Severity & Metrics

9.8 CRITICAL CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SSVC — CISA Coordinator
Exploitation
none
Automatable
yes
Tech. Impact
total
Affected products (1)
VendorProductPlatformVersions
JONASBN Crypt::OpenSSL::PKCS12 0 ≤ 1.94
Weakness (CWE)
CWESourceDescription
CWE-170 cna CWE-170 Improper Null Termination
CVSS scores (1)
ScoreSeverityVersionSourceVector
9.8 CRITICAL 3.1 adp CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Back to overview