CVE-2026-59168 Dasel: Unbounded recursion in JSON and XML readers causes unrecoverable stack-overflow DoS
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 1 fixed, 1 partially fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/dasel(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/dasel(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/dasel(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| tomwright github.com/tomwright/dasel/v3(Go) | >= 3.0.0, < 3.11.1; >= 3.0.0, <= 3.11.0; All versions | 3.11.1 | Partially fixed |
| debian/dasel(Debian 14) | < 3.11.2-1; = 2.8.1-1; = 3.8.0-1; = 3.8.1-1 +1 more | 3.11.2-1 | Fixed |
| tomwright github.com/tomwright/dasel/v3 | = >= 3.0.0, < 3.11.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| tomwright github.com/tomwright/dasel/v3(Go) | >= 3.0.0, < 3.11.1 | 3.11.1 |
| tomwright github.com/tomwright/dasel/v3(Go) | All versions | No fix listed |
| tomwright github.com/tomwright/dasel/v3 | = >= 3.0.0, < 3.11.1 | No fix listed |
| tomwright github.com/tomwright/dasel/v3(Go) | >= 3.0.0, <= 3.11.0 | No fix listed |
| debian/dasel(Debian:14) | < 3.11.2-1 | 3.11.2-1 |
| debian/dasel(Debian:14) | = 2.8.1-1 | No fix listed |
| debian/dasel(Debian:14) | = 3.11.0-1 | No fix listed |
| debian/dasel(Debian:14) | = 3.8.0-1 | No fix listed |
| debian/dasel(Debian:14) | = 3.8.1-1 | No fix listed |
| ubuntu/dasel(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/dasel(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/dasel(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/TomWright/dasel/security/advisories/GHSA-cqxr-jxr2-85pq vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/TomWright/dasel/commit/4c91d0d02dc59ce8404709b1bfed7a6fabe62f68 patch
- github.com product
- https://github.com/TomWright/dasel/releases/tag/v3.11.1
- github.com
- Debian Security Tracker CVE-2026-59168 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-84017 third-party-advisory