Vulnerability · Published Jun 20, 2026 · Assigned by CPANSec
CVE-2026-9265Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a heap OOB read in print_attribute UTF8STRING path
Critical 9.1
In plain English
A critical-severity out-of-bounds read in Crypt::OpenSSL::PKCS12 from JONASBN. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | libcrypt-openssl-pkcs12-perl | no fix listed | DEBIAN-CVE-2026-9265 |
| Debian:14 | libcrypt-openssl-pkcs12-perl | 1.96-1 | DEBIAN-CVE-2026-9265 |
| Ubuntu:24.04:LTS | libcrypt-openssl-pkcs12-perl | no fix listed | UBUNTU-CVE-2026-9265 |
| Ubuntu:25.10 | libcrypt-openssl-pkcs12-perl | no fix listed | UBUNTU-CVE-2026-9265 |
| Ubuntu:26.04:LTS | libcrypt-openssl-pkcs12-perl | no fix listed | UBUNTU-CVE-2026-9265 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| JONASBN | Crypt::OpenSSL::PKCS12 | 0 – before 1.96 |
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H