PT-2026-51127 · Cpan · Crypt::Openssl::Pkcs12

·

CVE-2026-9265

·

Published

2026-06-20

·

Updated

2026-06-20

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Name of the Vulnerable Software and Affected Versions Crypt::OpenSSL::PKCS12 versions prior to 1.96
Description A heap out-of-bounds read is possible in the UTF8STRING path of the print attribute() function. The function copies a UTF8STRING ASN.1 attribute value into a heap buffer sized exactly to its declared length using strncpy, which fails to include a NUL terminator. Consequently, downstream callers executing strlen() on the result pass an inflated length to newSVpvn(), allowing adjacent heap bytes influenced by an attacker to be copied into a Perl scalar.
Recommendations Update to version 1.96 or later.

Exploit

Fix

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-9265

Affected Products

Crypt::Openssl::Pkcs12