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.
References
Configurations
No configuration.
History
20 Nov 2026, 19:18
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
20 Nov 2026, 01:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-11-20 01:17
Updated : 2026-11-24 19:10
NVD link : CVE-2026-126956
Mitre link : CVE-2026-126956
CVE.ORG link : CVE-2026-126956
JSON object : View
Products Affected
No product.
CWE
CWE-674
Uncontrolled Recursion
