{"api_version":"1","generated_at":"2026-06-20T19:38:25+00:00","cve":"CVE-2026-9265","urls":{"html":"https://cve.report/CVE-2026-9265","api":"https://cve.report/api/cve/CVE-2026-9265.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-9265","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-9265"},"summary":{"title":"Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a heap OOB read in print_attribute UTF8STRING path","description":"Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a heap OOB read in print_attribute UTF8STRING path.\n\nprint_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.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-06-20 02:16:26","updated_at":"2026-06-20 02:16:26"},"problem_types":["CWE-125","CWE-125 CWE-125 Out-of-bounds Read"],"metrics":[],"references":[{"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/55","name":"https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/55","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/a7bd2f319fa8aab8177b3d767ea06dd85ceb3173.patch","name":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/a7bd2f319fa8aab8177b3d767ea06dd85ceb3173.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.96/source/Changes.md","name":"https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.96/source/Changes.md","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-9265","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9265","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"JONASBN","product":"Crypt::OpenSSL::PKCS12","version":"affected 1.96 custom","platforms":[]}],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"Upgrade to version 1.96 or apply the linked patch.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"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"}]}],"descriptions":[{"lang":"en","value":"Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a heap OOB read in print_attribute UTF8STRING path.\n\nprint_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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-06-20T00:46:07.737Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["issue-tracking"],"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/55"},{"tags":["release-notes"],"url":"https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.96/source/Changes.md"},{"tags":["patch"],"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/a7bd2f319fa8aab8177b3d767ea06dd85ceb3173.patch"}],"solutions":[{"lang":"en","value":"Upgrade to version 1.96 or apply the linked patch."}],"source":{"discovery":"UNKNOWN"},"title":"Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a heap OOB read in print_attribute UTF8STRING path","x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-9265","datePublished":"2026-06-20T00:46:07.737Z","dateReserved":"2026-05-22T01:38:26.750Z","dateUpdated":"2026-06-20T00:46:07.737Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-20 02:16:26","lastModifiedDate":"2026-06-20 02:16:26","problem_types":["CWE-125","CWE-125 CWE-125 Out-of-bounds Read"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"9265","Ordinal":"1","Title":"Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a h","CVE":"CVE-2026-9265","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"9265","Ordinal":"1","NoteData":"Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a heap OOB read in print_attribute UTF8STRING path.\n\nprint_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.","Type":"Description","Title":"Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a h"}]}}}