CVEfocus › CVE database › CVE-2026-59168

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

CVSS 6.2 MediumEPSS 0.2% (higher than 5% of CVEs)Published 2026-09-21Updated 2026-09-21Assigner: GitHub_M

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.

CWE-674

What to do

Fixed builds are available from Debian, Go: see the table below for the fixed version per release.

Go, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
4Fix pending
1Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10daselFix pendingUBUNTU-CVE-2026-59168
Ubuntu 26.04daselUnder investigationUBUNTU-CVE-2026-59168
Ubuntu 24.04daselFix pendingUBUNTU-CVE-2026-59168
Debian 14daselFixed3.11.2-1DEBIAN-CVE-2026-59168
Go librarygithub.com/tomwright/daselFix pendingGO-2026-6549
Go librarygithub.com/tomwright/dasel/v2Fix pendingGO-2026-6549
Go librarygithub.com/tomwright/dasel/v3Fixed3.11.1GHSA-cqxr-jxr2-85pq

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.