CVE-2026-56859Published Aug 13, 2026 · Aug 13Updated Sep 3
Add recursion depth guard during decode in encoding/xml
Go standard library encoding/xml
High7.5
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Go standard library encoding/xml |
| No fix yet |
Original description
Previously, DecodeElement would reset the depth counter causing it to never fire; this could lead to stack exhaustion.
From the CVE record · Go