Vulnerability
CVE-2026-59168
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.
7 advisories report this vulnerability, across 6 ecosystems.
Advisories
- ALPINE-EDGE-CVE-2026-59168
- CGA-g96h-3w4f-gj4c
- CGA-x2w3-h4g7-53j8
-
DEBIAN-CVE-2026-59168
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…
-
GHSA-cqxr-jxr2-85pq
Dasel: Unbounded recursion in JSON and XML readers causes unrecoverable stack-overflow DoS
-
GO-2026-6549
Dasel: Unbounded recursion in JSON and XML readers causes unrecoverable stack-overflow DoS in github.com/tomwright/dasel
-
UBUNTU-CVE-2026-59168
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…