Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-8507 EUVD-2026-30708GHSA-3qmj-qw66-fwx8

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

Published May 17, 2026 · Updated May 18, 2026 · Assigned by CPANSec

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 products

VendorProductAffectedFixed
JONASBN Crypt::OpenSSL::PKCS12 ≤ 1.94 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libcrypt-openssl-pkcs12-perl 1.95-1 —
Debian 13 libcrypt-openssl-pkcs12-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libcrypt-openssl-pkcs12-perl No fix yet —
Ubuntu 26.04 LTS libcrypt-openssl-pkcs12-perl No fix yet —
Ubuntu 25.10 libcrypt-openssl-pkcs12-perl No fix yet —
Ubuntu 24.04 LTS libcrypt-openssl-pkcs12-perl No fix yet —
Ubuntu 20.04 LTS libcrypt-openssl-pkcs12-perl No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libcrypt-openssl-pkcs12-perl No fix yet —
Ubuntu 16.04 LTS libcrypt-openssl-pkcs12-perl No fix yet —

References