Security mailing lists by PureSourceCode

CVE-2026-59168

MEDIUM 6.2CVSS 3.1

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

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.

Published
21 Sep 2026
Last modified
1 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-674
Also known as
GHSA-cqxr-jxr2-85pqGO-2026-6549
Sources
NVDJSONOSV GHSA-cqxr-jxr2-85pqJSONOSV GO-2026-6549JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/tomwright/dasel/v3 >= 3.0.0, < 3.11.1 3.11.1
OSV Go github.com/tomwright/dasel all versions
OSV Go github.com/tomwright/dasel/v2 all versions

References

History

  • 25 Nov 2026 21:21 UTC · NVD: first stored (published 21 Sep 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Oct 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.