libcrypt-openssl-pkcs12-perl — security advisory
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.
- Products
- libcrypt-openssl-pkcs12-perl
- Affected versions
- 1.94-1, 1.95-1, 1.96-1, 1.97-1, 1.98-1, 1.99-1
- Fixed versions
- 1.96-1
- CVEs
- CVE-2026-9265
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 12:18 UTC · Revision 2
Source evidence
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.
osv:DEBIAN-CVE-2026-9265
libcrypt-openssl-pkcs12-perl
Fixed versions: Not specified
libcrypt-openssl-pkcs12-perl
Fixed versions: 1.96-1
Complete source record
{
"id": "5fe0fa48f40be3373202f78ac3ec54298ed30a47af4b67a763aba59de8bf1a3d",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-9265",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-9265",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2026-9265",
"products": [
{
"name": {
"value": "libcrypt-openssl-pkcs12-perl",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.94-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.95-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.96-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.97-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.98-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.99-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "libcrypt-openssl-pkcs12-perl",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.96-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "1.94-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.95-1",
"evidence": "/affected/1/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "DEBIAN-CVE-2026-9265",
"aliases": [
"DEBIAN-CVE-2026-9265"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcrypt-openssl-pkcs12-perl",
"purl": "pkg:deb/debian/libcrypt-openssl-pkcs12-perl?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"1.94-1",
"1.95-1",
"1.96-1",
"1.97-1",
"1.98-1",
"1.99-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-9265.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.96-1"
}
]
}
],
"package": {
"name": "libcrypt-openssl-pkcs12-perl",
"purl": "pkg:deb/debian/libcrypt-openssl-pkcs12-perl?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"1.94-1",
"1.95-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-9265.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T11:47:27.253997547Z",
"provider": "osv",
"upstream": [
"CVE-2026-9265"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-9265"
]
},
"related_cves": [
{
"value": "CVE-2026-9265",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 450829,
"published_at": "2026-06-20T02:16:26.02+00:00"
}