CVE-2026-126956
published high CVSS 3.1 · 7.5Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via unlimited recursion depth in constructed-form string decoding
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | Convert-ASN10 to < 0.37 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | perl-convert-asn1 | Fixed | 0.37-r0 | Package fix record |
| Alpine Linux | v3.21 | perl-convert-asn1 | Fixed | 0.37-r0 | Package fix record |
| Alpine Linux | v3.22 | perl-convert-asn1 | Fixed | 0.37-r0 | Package fix record |
| Alpine Linux | v3.23 | perl-convert-asn1 | Fixed | 0.37-r0 | Package fix record |
| Alpine Linux | v3.24 | perl-convert-asn1 | Fixed | 0.37-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Convert-ASN1 | 0 to < 0.37 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-674 CWE-674 Uncontrolled Recursion
References
3Provider assertions
2CPANSec · cna
Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via unlimited recursion depth in constructed-form string decoding
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d4b33c59a60dc0eca3dcbd8dd720a96ca5517777053dfef81db54a09daf8b8ea
- Ingested
- 20 Nov 2026, 19:14:08 UTC
- Source record
- Official CVE record