Vulnerability · Published May 17, 2026 · Assigned by CPANSec

CVE-2026-8507Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl have out-of-bounds (OOB) write flaws

Critical 9.8

In plain English

A critical-severity out-of-bounds write in Crypt::OpenSSL::PKCS12 from JONASBN. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.6%top 48.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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().

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13libcrypt-openssl-pkcs12-perlno fix listedDEBIAN-CVE-2026-8507
Debian:14libcrypt-openssl-pkcs12-perl1.95-1DEBIAN-CVE-2026-8507
Ubuntu:24.04:LTSlibcrypt-openssl-pkcs12-perlno fix listedUBUNTU-CVE-2026-8507
Ubuntu:25.10libcrypt-openssl-pkcs12-perlno fix listedUBUNTU-CVE-2026-8507
Ubuntu:26.04:LTSlibcrypt-openssl-pkcs12-perlno fix listedUBUNTU-CVE-2026-8507
Ubuntu:26.10libcrypt-openssl-pkcs12-perlno fix listedUBUNTU-CVE-2026-8507

Affected products (as reported)

VendorProductVersions
JONASBN Crypt::OpenSSL::PKCS12 0 – through 1.94

Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References