Quick answers
- Is CVE-2026-56859 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-56859 being exploited in the wild.
- How severe is CVE-2026-56859?
- High severity, with a CVSS score of 7.5, published 13 August 2026.
- Which products and versions are affected?
- stdlib (Go) SEMVER:introduced=0,fixed=1.25.13,introduced=1.26.0-0,fixed=1.26.6,introduced=1.27.0-0,fixed=1.27.0-rc.3.
- Is there a fix for CVE-2026-56859?
- Yes. stdlib (Go): upgrade to 1.27.0-rc.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-56859 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-56859?
- Check whether you run stdlib (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- stdlib (Go): upgrade to 1.27.0-rc.3 or later
go get stdlib@v1.27.0-rc.3
Technical details
The vulnerability exists in Go's XML decoding functionality, specifically in the DecodeElement function which handles recursive XML element parsing. The function improperly resets an internal depth counter, preventing the depth limit check from ever triggering. An attacker can craft a malicious XML document with deeply nested elements that bypasses the recursion limit, causing unbounded stack growth and leading to stack exhaustion. The vulnerability is triggered via network-supplied XML input without requiring authentication or special privileges. A patch addressing the depth counter reset logic is available in Go's repository.
Affected products
- Google Go <unknown>
Identifiers
- CVE-2026-56859
- GO-2026-6088
Timeline
- 2026-08-13: disclosed