CVE-2026-59168
published medium CVSS 3.1 · 6.2Dasel: Unbounded recursion in JSON and XML readers causes unrecoverable stack-overflow DoS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| TomWright | — | dasel>= 3.0.0, < 3.11.1 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | dasel | Fixed | 3.11.2-r0 | Package fix record |
Description
Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From 3.0.0 until 3.11.1, parsing/json/json_reader.go decodeValue, decodeObject, and decodeArray, and parsing/xml/reader.go parseElement, recurse once per input nesting level without a depth guard. Deeply nested attacker-controlled JSON or XML supplied through parsing.Format(...).NewReader(...).Read(data), the command-line interface, or the parse selector function can exhaust the Go goroutine stack and raise an unrecoverable fatal error that terminates the entire process. The XML input-size limit does not prevent depth exhaustion, and defer or recover cannot intercept the failure. This issue is fixed in version 3.11.1.
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
- 6.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/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 |
|---|---|---|---|
| TomWright | dasel | >= 3.0.0, < 3.11.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-674 CWE-674: Uncontrolled Recursion
References
3Provider assertions
2GitHub_M · cna
Dasel: Unbounded recursion in JSON and XML readers causes unrecoverable stack-overflow DoS
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9d3979da7c8319ff1f7a4b40747ab767f8d8c71fbf4741268c4f790049c648a8
- Ingested
- 23 Sep 2026, 09:22:29 UTC
- Source record
- Official CVE record