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.
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.
Published:
2026-11-20
Score:
n/a
EPSS:
n/a
KEV:
No
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
Vendor Solution
Upgrade to Convert-ASN1 0.37 or later.
Tracking
Sign in to view the affected projects.
Advisories
No advisories yet.
References
History
Fri, 20 Nov 2026 00:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via unlimited recursion depth in constructed-form string decoding | |
| Weaknesses | CWE-674 | |
| References |
|
Subscriptions
No data.
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-11-20T00:29:24.160Z
Reserved: 2026-11-11T23:54:03.323Z
Link: CVE-2026-126956
No data.
Status : Received
Published: 2026-11-20T01:17:09.427
Modified: 2026-11-20T01:17:09.427
Link: CVE-2026-126956
No data.
OpenCVE Enrichment
No data.
Weaknesses
-
CWE-674
Uncontrolled Recursion