CVEfocus › CVE database › CVE-2026-9265

CVE-2026-9265Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a heap OOB read in…

CVSS 9.1 CriticalEPSS 0.6% (higher than 51% of CVEs)Published 2026-06-20Updated 2026-06-22Assigner: CPANSec

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.

CWE-125

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
4Fix pending
2Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libcrypt-openssl-pkcs12-perlUnder investigationUBUNTU-CVE-2026-9265
Ubuntu 25.10libcrypt-openssl-pkcs12-perlWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-9265
Ubuntu 24.04libcrypt-openssl-pkcs12-perlUnder investigationUBUNTU-CVE-2026-9265
Ubuntu 20.04libcrypt-openssl-pkcs12-perlFix pendingUBUNTU-CVE-2026-9265
Ubuntu 18.04libcrypt-openssl-pkcs12-perlFix pendingUBUNTU-CVE-2026-9265
Ubuntu 16.04libcrypt-openssl-pkcs12-perlFix pendingUBUNTU-CVE-2026-9265
Debian 14libcrypt-openssl-pkcs12-perlFixed1.96-1DEBIAN-CVE-2026-9265
Debian 13libcrypt-openssl-pkcs12-perlFix pendingDEBIAN-CVE-2026-9265

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to version 1.96 or apply the linked patch.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.