# CVE-2026-9265: Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a heap OOB read in print_attribute UTF8STRING path

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 31% of CVEs (2026-12-01)
- Published: 2026-06-20T00:46:07.737Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- Crypt-OpenSSL-PKCS12: before 1.96

## References

- <https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/55> (issue-tracking)
- <https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.96/source/Changes.md> (release-notes)
- <https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/a7bd2f319fa8aab8177b3d767ea06dd85ceb3173.patch> (patch)

## Sources

- CVE List: [CVE-2026-9265](https://www.cve.org/CVERecord?id=CVE-2026-9265), CVE Terms of Use, modified 2026-06-22
- NVD: [CVE-2026-9265](https://nvd.nist.gov/vuln/detail/CVE-2026-9265), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-9265 · Whole record: https://cve.day/CVE-2026-9265.json · Rebuilt by cve.day 2026-11-25T22:59:25.298Z
