{"id":"CVE-2026-59168","summary":"Dasel: Unbounded recursion in JSON and XML readers causes unrecoverable stack-overflow DoS","details":"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.","aliases":["GHSA-cqxr-jxr2-85pq"],"modified":"2026-09-23T03:45:46.705806549Z","published":"2026-09-21T16:55:07.859Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59168.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-674"]},"references":[{"type":"WEB","url":"https://github.com/TomWright/dasel/releases/tag/v3.11.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59168.json"},{"type":"ADVISORY","url":"https://github.com/TomWright/dasel/security/advisories/GHSA-cqxr-jxr2-85pq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59168"},{"type":"FIX","url":"https://github.com/TomWright/dasel/commit/4c91d0d02dc59ce8404709b1bfed7a6fabe62f68"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tomwright/dasel","events":[{"introduced":"648f83baf070d9e00db8ff312febef857ec090a3"},{"fixed":"4c91d0d02dc59ce8404709b1bfed7a6fabe62f68"},{"fixed":"5d609b8982d4f23a12f40e5d47009ba2a1bda218"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"3.0.0"},{"fixed":"3.11.1"}]}}],"versions":["v3.11.0","v3.10.1","v3.10.0","v3.9.0","v3.8.1","v3.8.0","v3.7.0","v3.6.0","v3.5.0","v3.4.1","v3.4.0","v3.3.2","v3.3.1","v3.3.0","v3.2.3","v3.2.2","v3.2.1","v3.2.0","v3.1.4","v3.1.3","v3.1.2","v3.1.1","v3.1.0","v3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59168.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}