CVE-2026-9265
Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a heap OOB read in print_attribute UTF8STRING path
Title source: cnaDescription
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.
References (3)
Core 3
Core References
Issue Tracking issue-tracking
https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/55
Release Notes release-notes
https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.96/source/Changes.md
Details
CWE
CWE-125
Status
published
Products (1)
JONASBN/Crypt::OpenSSL::PKCS12
< 1.96
Published
Jun 20, 2026
Tracked Since
Jun 20, 2026