CVE-2026-9265 Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a heap OOB read in print_attribute UTF8STRING path
CriticalCVSS 9.1
EPSS 0.63%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| JONASBN Crypt::OpenSSL::PKCS12 | < 1.96 | 1.96 |
| debian/libcrypt-openssl-pkcs12-perl(Debian:13) | All versions | No fix listed |
| debian/libcrypt-openssl-pkcs12-perl(Debian:13) | = 1.94-1 | No fix listed |
| debian/libcrypt-openssl-pkcs12-perl(Debian:13) | = 1.95-1 | No fix listed |
| debian/libcrypt-openssl-pkcs12-perl(Debian:13) | = 1.96-1 | No fix listed |
| debian/libcrypt-openssl-pkcs12-perl(Debian:13) | = 1.97-1 | No fix listed |
| debian/libcrypt-openssl-pkcs12-perl(Debian:13) | = 1.98-1 | No fix listed |
| debian/libcrypt-openssl-pkcs12-perl(Debian:13) | = 1.99-1 | No fix listed |
| debian/libcrypt-openssl-pkcs12-perl(Debian:14) | < 1.96-1 | 1.96-1 |
| debian/libcrypt-openssl-pkcs12-perl(Debian:14) | = 1.94-1 | No fix listed |
| debian/libcrypt-openssl-pkcs12-perl(Debian:14) | = 1.95-1 | No fix listed |
| ubuntu/libcrypt-openssl-pkcs12-perl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libcrypt-openssl-pkcs12-perl(Ubuntu:26.04) | All versions | No fix listed |
References
- github.com issue-tracking
- metacpan.org release-notes
- github.com patch
- Debian Security Tracker CVE-2026-9265 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking