High severity · published Aug 13, 2026
CVE-2026-56859
Add recursion depth guard during decode in encoding/xml
7.5
CVSS
0.6%
EPSS
No
On KEV
Description
Previously, DecodeElement would reset the depth counter causing it to never fire; this could lead to stack exhaustion.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 47% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EN
encoding/xml · Go standard library
before 1.25.13; 1.26.0-0 before 1.26.6; 1.27.0-0 before 1.27.0-rc.3 · source: vendor