Skip to main content

Crypt::OpenSSL::PKCS12 CVE-2026-8721

| EUVD-2026-30707 CRITICAL
Improper Null Termination (CWE-170)
2026-05-17 9b29abf9-4ab0-4765-b253-1875cd9b441e GHSA-hh8h-hxcj-2pm7
9.8
CVSS 3.1
Share

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Generated
May 18, 2026 - 13:23 vuln.today
CVSS changed
May 18, 2026 - 13:22 NVD
9.8 (CRITICAL)
CVE Published
May 17, 2026 - 19:16 nvd
UNKNOWN (no severity yet)

DescriptionNVD

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.

AnalysisAI

Silent password truncation in the Perl module Crypt::OpenSSL::PKCS12 versions up to and including 1.94 causes any password bytes at or after the first embedded NULL byte to be dropped without warning. The flaw stems from password parameters being declared as char* in PKCS12.xs, routing through Perl's default typemap to SvPV_nolen and discarding the Perl-known length before C strlen() truncates the buffer. …

Sign in for full analysis, threat intelligence, and remediation guidance.

RemediationAI

Within 24 hours: identify all use of Crypt::OpenSSL::PKCS12 version 1.94 or earlier in production systems. Within 7 days: determine if affected versions generated any PKCS12 keystores; begin evaluation and testing of alternative libraries. …

Sign in for detailed remediation steps.

Share

CVE-2026-8721 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy