{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-9265: Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a heap OOB read in print_attribute UTF8STRING path","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-9265","status":"final","version":"1","initial_release_date":"2026-06-20T00:46:07.737Z","current_release_date":"2026-06-22T15:36:11.439Z","revision_history":[{"date":"2026-06-20T00:46:07.737Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-9265 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-9265"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-9265"},{"category":"external","summary":"github.com","url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/55"},{"category":"external","summary":"metacpan.org","url":"https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.96/source/Changes.md"},{"category":"external","summary":"github.com","url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/a7bd2f319fa8aab8177b3d767ea06dd85ceb3173.patch"}]},"product_tree":{"branches":[{"category":"vendor","name":"JONASBN","branches":[{"category":"product_name","name":"Crypt::OpenSSL::PKCS12","branches":[{"category":"product_version_range","name":"<1.96","product":{"name":"JONASBN Crypt::OpenSSL::PKCS12 <1.96","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:jonasbn:crypt\\:\\:openssl\\:\\:pkcs12:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-9265","title":"Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a heap OOB read in print_attribute UTF8STRING path","notes":[{"category":"description","text":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","baseScore":9.1,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 1.96.","product_ids":["CSAFPID-1"],"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/a7bd2f319fa8aab8177b3d767ea06dd85ceb3173.patch"}]}]}