{"id":"CVE-2026-59168","published":"2026-09-21T16:55:07Z","modified":"2026-09-21T20:45:17Z","title":"Dasel: Unbounded recursion in JSON and XML readers causes unrecoverable stack-overflow DoS","vendor":"TomWright","product":"dasel","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00184,"percentile":0.04637,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/TomWright/dasel/security/advisories/GHSA-cqxr-jxr2-85pq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/TomWright/dasel/commit/4c91d0d02dc59ce8404709b1bfed7a6fabe62f68","tags":["x_refsource_MISC"]},{"url":"https://github.com/TomWright/dasel/releases/tag/v3.11.1","tags":["x_refsource_MISC"]}],"priority":{"score":5.3,"factors":[{"name":"EPSS percentile","points":0.93},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"tomwright","affectedVersions":[{"vendor":"TomWright","product":"dasel","versions":[">= 3.0.0, < 3.11.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-21T19:40:35.532900Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/tomwright/dasel/v3","vulnerableRanges":[">=3.0.0, <3.11.1"],"patched":["3.11.1"],"from":["GHSA-cqxr-jxr2-85pq","GO-2026-6549"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/tomwright/dasel","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-6549"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/tomwright/dasel/v2","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-6549"],"provenance":"source"}],"summary":{"text":"Dasel, a command-line tool and library for querying and transforming data, has an unbounded recursion flaw in its JSON reader (parsing/json/json_reader.go) and XML reader (parsing/xml/reader.go) in versions 3.0.0 through 3.11.1. An attacker who can supply deeply nested JSON or XML, whether through the library's reader API, the command-line interface, or the parse selector function, with no authentication or user interaction required, can exhaust the Go goroutine stack and crash the entire process with an unrecoverable fatal error.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:12Z"},"euvd":{"id":"EUVD-2026-84017","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-33320","published":"2026-03-24","fixed":"3.3.2","kev":false},{"cve":"CVE-2026-46378","published":"2026-07-16","fixed":"3.10.1","kev":false,"link":{"from":"CVE-2026-46378","to":"CVE-2026-59168","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/tomwright/dasel/v3","fromFixed":"3.10.1","toFixed":"3.11.1","daysApart":67}]}},{"cve":"CVE-2026-59168","published":"2026-09-21","fixed":"3.11.1","kev":false},{"cve":"CVE-2026-62866","published":"2026-09-21","fixed":"3.11.2","kev":false,"link":{"from":"CVE-2026-59168","to":"CVE-2026-62866","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/tomwright/dasel/v3","fromFixed":"3.11.1","toFixed":"3.11.2","daysApart":0}]}}],"package":"Go:github.com/tomwright/dasel/v3"}}