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.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)0.6%top 49.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:13libcrypt-openssl-pkcs12-perlno fix listedDEBIAN-CVE-2026-9265
Debian:14libcrypt-openssl-pkcs12-perl1.96-1DEBIAN-CVE-2026-9265
Ubuntu:24.04:LTSlibcrypt-openssl-pkcs12-perlno fix listedUBUNTU-CVE-2026-9265
Ubuntu:25.10libcrypt-openssl-pkcs12-perlno fix listedUBUNTU-CVE-2026-9265
Ubuntu:26.04:LTSlibcrypt-openssl-pkcs12-perlno fix listedUBUNTU-CVE-2026-9265

Affected products (as reported)

VendorProductVersions
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

References