9.1
/ 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Description
Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a heap OOB read in print_attribute UTF8STRING path.
print_attribute() copies a UTF8STRING ASN.1 attribute value into a heap buffer sized exactly to its declared length via strncpy, leaving no NUL terminator. Downstream callers run strlen() on the result and pass the inflated length to newSVpvn(), copying attacker-influenced adjacent heap bytes into a Perl scalar.
print_attribute() copies a UTF8STRING ASN.1 attribute value into a heap buffer sized exactly to its declared length via strncpy, leaving no NUL terminator. Downstream callers run strlen() on the result and pass the inflated length to newSVpvn(), copying attacker-influenced adjacent heap bytes into a Perl scalar.
AI Analysis
Heap OOB read in print_attribute UTF8STRING path due to insufficient NUL termination
Basic Information
ID
CVE-2026-9265
Source
CPANSec
Published
Jun 20, 2026 at 00:46
Modified
Jun 22, 2026 at 15:36
Affected Product
Vendor
JONASBN
Product
Crypt::OpenSSL::PKCS12
Affected Versions
JONASBN Crypt::OpenSSL::PKCS12 0
CWE Classification
AI Assessment
AI Score
9.1 / 10
AI Severity
Critical
Vendor
JONASBN
Product
Crypt::OpenSSL::PKCS12
Version
before 1.96