libcrypt-openssl-pkcs12-perl — security advisory
Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl have out-of-bounds (OOB) write flaws. When parsing a PKCS12 file, with a >= 1 GiB OCTET STRING (or BIT STRING) attribute on a SAFEBAG, via info() or info_as_hash(), a heap out-of-bounds write would be triggered with remote-code-execution potential (RCE) due to a signed integer overflow in the size calculation passed to Renew().
- Products
- libcrypt-openssl-pkcs12-perl
- Affected versions
- 0.7-1, 0.7-1build1, 0.7-3ubuntu2, 0.8-1, 0.8-1build1, 1.2-1, 1.2-1build1, 1.9-2, 1.9-3, 1.9-3build1, 1.9-3build3, 1.9-3build4, 1.94-1, 1.95-1, 1.96-1, 1.97-1, 1.99-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-8507
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:23 UTC · Revision 1
Source evidence
Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl have out-of-bounds (OOB) write flaws. When parsing a PKCS12 file, with a >= 1 GiB OCTET STRING (or BIT STRING) attribute on a SAFEBAG, via info() or info_as_hash(), a heap out-of-bounds write would be triggered with remote-code-execution potential (RCE) due to a signed integer overflow in the size calculation passed to Renew().
osv:UBUNTU-CVE-2026-8507
libcrypt-openssl-pkcs12-perl
Fixed versions: Not specified
libcrypt-openssl-pkcs12-perl
Fixed versions: Not specified
libcrypt-openssl-pkcs12-perl
Fixed versions: Not specified
libcrypt-openssl-pkcs12-perl
Fixed versions: Not specified
libcrypt-openssl-pkcs12-perl
Fixed versions: Not specified
libcrypt-openssl-pkcs12-perl
Fixed versions: Not specified
libcrypt-openssl-pkcs12-perl
Fixed versions: Not specified
Complete source record
{
"id": "f138519816f8723585ab04c0cb0ca3fec196a45dd7d2864f6a7b9dd1ff510340",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-8507",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-8507",
"summary": "Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl have out-of-bounds (OOB) write flaws. When parsing a PKCS12 file, with a >= 1 GiB OCTET STRING (or BIT STRING) attribute on a SAFEBAG, via info() or info_as_hash(), a heap out-of-bounds write would be triggered with remote-code-execution potential (RCE) due to a signed integer overflow in the size calculation passed to Renew().",
"evidence": "osv:UBUNTU-CVE-2026-8507",
"products": [
{
"name": {
"value": "libcrypt-openssl-pkcs12-perl",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.7-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.7-1build1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "libcrypt-openssl-pkcs12-perl",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.7-3ubuntu2",
"evidence": "/affected/1/versions"
},
{
"value": "0.8-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.8-1build1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "libcrypt-openssl-pkcs12-perl",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.2-1build1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "libcrypt-openssl-pkcs12-perl",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.9-2",
"evidence": "/affected/3/versions"
},
{
"value": "1.9-3",
"evidence": "/affected/3/versions"
},
{
"value": "1.9-3build1",
"evidence": "/affected/3/versions"
},
{
"value": "1.9-3build3",
"evidence": "/affected/3/versions"
},
{
"value": "1.9-3build4",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "libcrypt-openssl-pkcs12-perl",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.94-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "libcrypt-openssl-pkcs12-perl",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.94-1",
"evidence": "/affected/5/versions"
},
{
"value": "1.95-1",
"evidence": "/affected/5/versions"
},
{
"value": "1.96-1",
"evidence": "/affected/5/versions"
},
{
"value": "1.97-1",
"evidence": "/affected/5/versions"
},
{
"value": "1.99-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "libcrypt-openssl-pkcs12-perl",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.94-1",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2026-8507",
"aliases": [
"UBUNTU-CVE-2026-8507"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcrypt-openssl-pkcs12-perl",
"purl": "pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"0.7-1",
"0.7-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8507.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcrypt-openssl-pkcs12-perl",
"binary_version": "0.7-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcrypt-openssl-pkcs12-perl",
"purl": "pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"0.7-3ubuntu2",
"0.8-1",
"0.8-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8507.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcrypt-openssl-pkcs12-perl",
"binary_version": "0.8-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcrypt-openssl-pkcs12-perl",
"purl": "pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.2-1",
"1.2-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8507.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcrypt-openssl-pkcs12-perl",
"binary_version": "1.2-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcrypt-openssl-pkcs12-perl",
"purl": "pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.9-2",
"1.9-3",
"1.9-3build1",
"1.9-3build3",
"1.9-3build4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8507.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcrypt-openssl-pkcs12-perl",
"binary_version": "1.9-3build4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcrypt-openssl-pkcs12-perl",
"purl": "pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.94-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8507.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcrypt-openssl-pkcs12-perl",
"binary_version": "1.94-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcrypt-openssl-pkcs12-perl",
"purl": "pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.94-1",
"1.95-1",
"1.96-1",
"1.97-1",
"1.99-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8507.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcrypt-openssl-pkcs12-perl",
"binary_version": "1.99-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcrypt-openssl-pkcs12-perl",
"purl": "pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.94-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8507.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcrypt-openssl-pkcs12-perl",
"binary_version": "1.94-1"
}
]
}
}
],
"modified": "2026-10-17T13:01:12.999521681Z",
"provider": "osv",
"upstream": [
"CVE-2026-8507"
],
"references": [
"https://ubuntu.com/security/CVE-2026-8507",
"https://www.cve.org/CVERecord?id=CVE-2026-8507",
"https://lists.security.metacpan.org/cve-announce/msg/40149247/",
"https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/55",
"https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/56",
"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/b9d0469c6d8f5b5c6c2a45a3d0647a532b749397.patch",
"https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.95/view/Changes.md"
]
},
"related_cves": [
{
"value": "CVE-2026-8507",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 361271,
"published_at": "2026-05-17T19:16:00+00:00"
}