CVE-2026-56859
Add recursion depth guard during decode in encoding/xml
- Severity
- high CVSS 7.5 (v3.1)
- Affects
- encoding/xml · Go standard library
- Weakness
- CWE-770 Allocation of Resources Without Limits or Throttling
- Published
- 13 August 2026 by Go
- First seen on our lists
- 13 August 2026
Previously, DecodeElement would reset the depth counter causing it to never fire; this could lead to stack exhaustion.
Our coverage
- Go 1.26.6 and 1.25.13 fix sumdb bypass and module cache attacks
- Go 1.27 RC3 plugs module proxy checksum bypasses
- Go 1.26.6 and 1.25.13 close module sumdb bypasses
On the lists
- [oss-security] Go 1.26.6 and Go 1.25.13 are released with 10 security fixes
- [golang-dev] [security] Go 1.27 Release Candidate 3 is released
- [go-nuts] [security] Go 1.27 Release Candidate 3 is released
- [golang-dev] [security] Go 1.26.6 and Go 1.25.13 are released
- [go-nuts] [security] Go 1.26.6 and Go 1.25.13 are released