Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend small deeply nested ASN.1 message
-
ExploitDecoder recurses per constructed level
-
ExecutionPerl heap grows unbounded
-
ImpactMemory exhaustion denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | Exploitation requires that the application decode attacker-controlled BER/DER ASN.1 data using Convert::ASN1 before version 0.37, where no nesting-depth bound exists; any constructed-form string (or SEQUENCE/SET/EXPLICIT tag/untagged CHOICE) in the input drives one recursion level. No authentication, user interaction, or special configuration is needed on the vulnerable code path (PR:N/UI:N), so default pre-0.37 deployments are affected. The practical limiting factor is reachability: the attacker must be able to supply the ASN.1 bytes that the application passes to decode(), so exposure is confined to services that parse untrusted ASN.1 (e.g. LDAP messages, SNMP PDUs, X.509 certificates) rather than only trusted/local input. The complete fix is upgrading to 0.37; on fixed versions the new max_depth option (default 99) bounds recursion, and setting max_depth => 0 re-disables protection. |
| Impact | This is a genuine but moderate-priority denial-of-service issue, not a high-impact critical flaw. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U, A:H only) correctly scores it 7.5 by treating availability loss as the sole impact - there is no confidentiality or integrity exposure (C:N/I:N), consistent with a CWE-674 uncontrolled-recursion memory-exhaustion bug. The signals largely agree on 'real but contained': EPSS is low at 0.17% (7th percentile), SSVC reports Exploitation 'none' (no observed exploitation) but Automatable 'yes' with 'partial' technical impact, and the vuln.today Decision label is 'this_week' rather than act_now/emergency. There is no CISA KEV listing and no confirmed public exploit, so the elevated-but-not-urgent cadence is driven by ease of exploitation (trivially craftable malicious input, no auth, network-reachable) rather than evidence of in-the-wild use. One nuance to verify: AV:N is appropriate only where the application feeds network-sourced ASN.1 (e.g. LDAP/SNMP/X.509 parsing) to the decoder; if a given deployment only decodes local/trusted data the practical vector is narrower than AV:N implies. Overall: patch on a normal expedited cycle, prioritizing services that parse untrusted ASN.1. |
| Exploit ScenarioDerived | An application uses Convert::ASN1 (before 0.37) to decode attacker-supplied BER/DER data - for example an LDAP, SNMP, or certificate parser exposed to a network peer. The attacker sends a small message containing a deeply nested constructed-form string (about four bytes per nesting level), and because the decoder recurses per level with no depth bound and Perl recursion is heap-allocated, the process grows memory until it is exhausted. No public exploit is identified at time of analysis, though the trigger is simple to construct and the fix commit ships a proof-style test building nested input. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Memory exhaustion in the Perl module Convert::ASN1 before 0.37 lets remote attackers drive a decoding process into unbounded heap growth by supplying a small, deeply nested constructed-form BER element. Every constructed string, SEQUENCE, SET, EXPLICIT tag or untagged CHOICE in the input adds a recursion level, and the decoder checks no depth bound; because Perl recursion is heap-allocated, the process grows until it is killed rather than crashing on a stack overflow. No authentication or user interaction is needed on the vulnerable path (AV:N/AC:L/PR:N/UI:N), but exposure is limited to services that actually feed untrusted ASN.1 - such as LDAP, SNMP or certificate parsing - to decode(); EPSS is low at 0.17% (7th percentile), SSVC records no known exploitation, and no public exploit code was identified at time of analysis, making this a moderate-priority availability issue rather than a critical flaw.
RemediationAI
Upgrade to Convert::ASN1 0.37, which is the vendor-released fix and the only complete remedy; the patch (https://github.com/cpan-authors/perl-Convert-ASN1/commit/99a96139a322ba0a5183c7e40a8857f3550daace.patch) introduces a decode max_depth limit that defaults to 99 and aborts decoding with a 'nesting depth limit exceeded' error. If an application legitimately needs deeper structures, raise the bound explicitly rather than removing it, for example $asn->configure(decode => { max_depth => 256 }); note that setting max_depth => 0 disables the protection entirely and should be avoided, while negative values are rejected as invalid. Where upgrading must be staged, note that the protection only exists in 0.37 and later, so pre-0.37 hosts parsing untrusted LDAP, SNMP or certificate data should be treated as exposed until the upgrade lands; release details are at https://metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changes and tracking of related issues is at https://github.com/cpan-authors/perl-Convert-ASN1/issues.
Affected ProductsAI
All releases of the Perl distribution Convert::ASN1 prior to 0.37 are affected, on every platform and Perl version, since the flaw is in the pure-Perl decoder rather than in a compiled dependency. No CPE identifiers were supplied in the available data. Downstream applications that embed the module and decode untrusted BER/DER - LDAP clients and servers, SNMP tooling, X.509/certificate parsers and similar network-facing components - inherit the exposure; applications that only decode locally generated or trusted input are effectively out of reach. The release notes for the fixed version are at https://metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changes, the upstream patch is at https://github.com/cpan-authors/perl-Convert-ASN1/commit/99a96139a322ba0a5183c7e40a8857f3550daace.patch, and the coordinated disclosure thread is at https://seclists.org/oss-sec/2026/q4/797.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Convert::ASN1 is a pure-Perl BER/DER encoder and decoder used widely for X.509, LDAP and SNMP handling. Its _decode routine recurses whenever it encounters a constructed element (constructed-form string types, SEQUENCE, SET, EXPLICIT tags and untagged CHOICE), consuming four attacker-controlled bytes per nesting level, and versions before 0.37 imposed no ceiling on that recursion - the CWE-674 uncontrolled-recursion class. Because Perl's call frames live on the heap rather than a fixed C stack, there is no stack-overflow crash to act as a natural circuit breaker: the process simply allocates until memory is exhausted. The upstream fix (commit 99a96139a322ba0a5183c7e40a8857f3550daace) threads a decode_max_depth value through _decode and the handler objects, defaulting to 99 - chosen to stay below Perl's deep-recursion warning threshold of 100 while covering real-world certificates, LDAP messages and SNMP PDUs - and rejects negative values. The accompanying regression test also documents a secondary amplification path: if a depth error inside an untagged CHOICE alternative were swallowed as a non-match, each level would retry every alternative and work would grow as 2**max_depth, so the fix propagates the depth error as fatal instead.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-reachable parsers receive attacker-controlled ASN.1 with no auth or interaction (AV:N/AC:L/PR:N/UI:N); impact is memory-exhaustion availability loss only, so C:N/I:N/A:H.
Primary rating from Vendor (CPANSec).
CVSS VectorVendor: CPANSec
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-126956 is a high-severity memory exhaustion flaw in the Perl Convert::ASN1 module (before version 0.37) that can be triggered by unauthenticated remote attackers through deeply nested BER elements, causing services to crash or become unresponsive. While only services that process untrusted ASN.1 input (e.g., LDAP, SNMP, certificate parsing) are exposed, any disruption to those services could impact authentication, directory lookups, or network monitoring, affecting operational availability and potentially downstream business processes.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-130804
GHSA-36x8-pvcf-c55m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB