CVE Explorer
CVE-2026-9265
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"Crypt-OpenSSL-PKCS12","product":"Crypt::OpenSSL::PKCS12","programFiles":["PKCS12.xs"],"programRoutines":[{"name":"Crypt::OpenSSL::PKCS12::info"},{"name":"Crypt::OpenSSL::PKCS12::info_as_hash"}],"repo":"https://github.com/dsully/perl-crypt-openssl-pkcs12","vendor":"JONASBN","versions":[{"lessThan":"1.96","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:b7c3ed22c98feabd2ff493048721b473246a5fce32f776ce3a2deecd9e935e87 · sha256:8018122cfb5aa0c8… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:b7c3ed22c98feabd2ff493048721b473246a5fce32f776ce3a2deecd9e935e87 · sha256:8018122cfb5aa0c8… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b7c3ed22c98feabd2ff493048721b473246a5fce32f776ce3a2deecd9e935e87 · sha256:8018122cfb5aa0c8… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"tags":["patch"],"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/a7bd2f319fa8aab8177b3d767ea06dd85ceb3173.patch"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b7c3ed22c98feabd2ff493048721b473246a5fce32f776ce3a2deecd9e935e87 · sha256:8018122cfb5aa0c8… · /containers/cna/references/2
{"tags":["issue-tracking"],"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/55"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b7c3ed22c98feabd2ff493048721b473246a5fce32f776ce3a2deecd9e935e87 · sha256:8018122cfb5aa0c8… · /containers/cna/references/0
{"tags":["release-notes"],"url":"https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.96/source/Changes.md"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b7c3ed22c98feabd2ff493048721b473246a5fce32f776ce3a2deecd9e935e87 · sha256:8018122cfb5aa0c8… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.