CVE-2026-126956
JSON

7.5high

Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via unlimited recursion depth in constructed-form string decoding

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.48% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

Description

Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via unlimited recursion depth in constructed-form string decoding. Any constructed-form string element causes the decoder to recurse on the element's contents. The BER encoding controls nesting depth at four bytes per level, with no bound checked. Perl recursion is heap-allocated, so the process grows without a stack crash. An attacker who controls the decoded data can exhaust memory with a small deeply nested constructed string.

Affected

Product or packageVersionsReported by
Convert-ASN1before 0.37CVE List

Classification

CWE-674

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

References

Sources

SourceRecordLicence
CVE ListCVE-2026-126956 changed 2026-11-20CVE Terms of Use
NVDCVE-2026-126956 changed 2026-11-24Public domain