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.
Analysis and contextual insights are available on OpenCVE Cloud.
Vendor Solution
Upgrade to version 1.96 or apply the linked patch.
Tracking
Sign in to view the affected projects.
No advisories yet.
Mon, 22 Jun 2026 16:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
Sat, 20 Jun 2026 03:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Jonasbn
Jonasbn crypt::openssl::pkcs12 |
|
| Vendors & Products |
Jonasbn
Jonasbn crypt::openssl::pkcs12 |
Sat, 20 Jun 2026 01:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a heap OOB read in print_attribute UTF8STRING path | |
| Weaknesses | CWE-125 | |
| References |
|
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-06-22T15:36:11.439Z
Reserved: 2026-05-22T01:38:26.750Z
Link: CVE-2026-9265
Updated: 2026-06-22T15:34:40.132Z
No data.
No data.
OpenCVE Enrichment
Updated: 2026-06-22T17:30:04Z