CVE-2026-8507
JSON

9.8critical

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

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.65% (higher than 52% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Product or packageVersionsReported by
Crypt-OpenSSL-PKCS12up to 1.94CVE List

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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

NVD (es)

Las versiones de Crypt::OpenSSL::PKCS12 hasta la 1.94 para Perl tienen fallos de escritura fuera de límites (OOB). Al analizar un archivo PKCS12, con un atributo OCTET STRING (o BIT STRING) de mayor o igual que 1 GiB en un SAFEBAG, a través de info() o info_as_hash(), se activaría una escritura fuera de límites en el heap con potencial de ejecución remota de código (RCE) debido a un desbordamiento de entero con signo en el cálculo del tamaño pasado a Renew().

References

Sources

SourceRecordLicence
CVE ListCVE-2026-8507 changed 2026-05-18CVE Terms of Use
NVDCVE-2026-8507 changed 2026-10-26Public domain