CVE-2026-9265: Jonasbn crypt::openssl::pkcs12

Critical severity, CVSS 9.1. EPSS: 0.6% chance of exploitation in the next 30 days.

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.

Affected products

  • Jonasbn crypt::openssl::pkcs12: before 1.96 (fixed in 1.96)

Published 2026-06-20. Last modified 2026-06-22.