Go standard library encoding/xml
Add recursion depth guard during decode in encoding/xml
Previously, DecodeElement would reset the depth counter causing it to never fire; this could lead to stack exhaustion.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CISA ADP · CWE-770
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Go standard library encoding/xml
- < 1.25.13
- >= 1.26.0-0, < 1.26.6
- >= 1.27.0-0, < 1.27.0-rc.3
Fixed in 1.25.13, 1.26.6, 1.27.0-rc.3
Mitigation
Upgrade encoding/xml to 1.25.13 or 1.26.6 or 1.27.0-rc.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.