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

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2026-05-17T18:43:05.863Z
- Modified: 2026-10-26T13:10:00.140Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- 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().

(As written by CVE List.)

## Affected

- Crypt-OpenSSL-PKCS12: up to 1.94

## 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>

## Sources

- CVE List: [CVE-2026-8507](https://www.cve.org/CVERecord?id=CVE-2026-8507), CVE Terms of Use, modified 2026-05-18
- NVD: [CVE-2026-8507](https://nvd.nist.gov/vuln/detail/CVE-2026-8507), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-8507 · Whole record: https://cve.day/CVE-2026-8507.json · Rebuilt by cve.day 2026-11-25T22:59:21.898Z
