freenode

← CVE tracker

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

On the lists