Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/a7bd2f319fa8aab8177b3
- https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/55
- https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.96/source/Changes.md
FAQ
What is CVE-2026-9265?
CVE-2026-9265 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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 e...
How severe is CVE-2026-9265?
CVE-2026-9265 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-9265?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.