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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | libcrypt-openssl-pkcs12-perl | no fix listed | DEBIAN-CVE-2026-8507 |
| Debian:14 | libcrypt-openssl-pkcs12-perl | 1.95-1 | DEBIAN-CVE-2026-8507 |
| Ubuntu:24.04:LTS | libcrypt-openssl-pkcs12-perl | no fix listed | UBUNTU-CVE-2026-8507 |
| Ubuntu:25.10 | libcrypt-openssl-pkcs12-perl | no fix listed | UBUNTU-CVE-2026-8507 |
| Ubuntu:26.04:LTS | libcrypt-openssl-pkcs12-perl | no fix listed | UBUNTU-CVE-2026-8507 |
| Ubuntu:26.10 | libcrypt-openssl-pkcs12-perl | no fix listed | UBUNTU-CVE-2026-8507 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.95/view/Changes.md release-notes
- https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/55 issue-tracking
- https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/56 issue-tracking
- https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/b9d0469c6d8f5b5c6c2a45a3d0647a532b749397.patch patch
- http://www.openwall.com/lists/oss-security/2026/05/17/5