Heap memory disclosure via unterminated UTF8STRING buffer
Published Jun 20, 2026 · Updated Jun 20, 2026
Out-of-bounds read in Crypt::OpenSSL::PKCS12 before 1.96 allows remote attackers to disclose heap memory via crafted PKCS#12 data. print_attribute() copies a UTF8STRING attribute into a buffer sized to the declared length without adding a NUL terminator, so strlen() overreads adjacent heap data before newSVpvn() copies it into a Perl scalar. Exposure requires an application to pass attacker-controlled PKCS#12 data to info() or info_as_hash(); integrity impact is not reported.
Summary
What happened
Out-of-bounds read in Crypt::OpenSSL::PKCS12 before 1.96 allows remote attackers to disclose heap memory via crafted PKCS#12 data. print_attribute() copies a UTF8STRING attribute into a buffer sized to the declared length without adding a NUL terminator, so strlen() overreads adjacent heap data before newSVpvn() copies it into a Perl scalar. Exposure requires an application to pass attacker-controlled PKCS#12 data to info() or info_as_hash(); integrity impact is not reported.
The record
- CVE
- CVE-2026-9265
- Published
- Jun 20, 2026
- Updated
- Jun 20, 2026
- Vendor
- Jonas B. Nielsen
- Product
- Crypt::OpenSSL::PKCS12
- Classifications
- CWE-125
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 20, 2026CVE publishedPublication date reported by the CVE source.
- Jun 20, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <1.96
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo