Skip to content
OpenAdvisories
Medium · 6.2 CVE-2026-59168 EUVD-2026-84017GHSA-cqxr-jxr2-85pqGO-2026-6549

Dasel: Unbounded recursion in JSON and XML readers causes unrecoverable stack-overflow DoS

Published Sep 21, 2026 · Updated Sep 21, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
TomWright dasel >= 3.0.0, < 3.11.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 dasel 3.11.2-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 dasel No fix yet —
Ubuntu 26.04 LTS dasel No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS dasel No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling vale 3.22.0-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/tomwright/dasel all versions — GO-2026-6549
Go github.com/tomwright/dasel/v2 all versions — GO-2026-6549
Go github.com/tomwright/dasel/v3 >= 3.0.0, < 3.11.1 3.11.1 GHSA-cqxr-jxr2-85pq

References