Uncontrolled recursion in Convert::ASN1 for Perl exhausts memory
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-674.
Summary
Convert::ASN1 versions before 0.37 for Perl contain an uncontrolled recursion flaw (CWE-674) in constructed-form string decoding. The decoder recurses on the contents of each constructed string element without checking the nesting depth that the BER encoding sets. An attacker who controls the decoded data can exhaust memory with a small, deeply nested constructed string.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Convert-ASN1 | before 0.37 | 0.37 | Patch available | CNA |
- Convert-ASN1 Vendor— Affected before 0.37 Fixed in 0.37 Patch available CNA
Remediation
Update Convert-ASN1 to version 0.37 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
- Fix · CNA Convert-ASN1 Fixed in 0.37
Timeline
- 2026-11-20 Threatist record created from CVE-2026-126956
- 2026-11-20 Alias added: GHSA-36x8-pvcf-c55m
- 2026-11-20 CVSS score added · CISA ADP
- 2026-11-20 CISA SSVC decision points changed
References
Sources
- CVE-2026-126956 · CVE Program
- CVE-2026-126956 · NVD
- FIRST EPSS
- GHSA-36x8-pvcf-c55m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences