{"id":"CVE-2022-28131","published":"2022-08-09T00:00:00Z","modified":"2024-08-03T05:48:36Z","title":"Stack exhaustion from deeply nested XML documents in encoding/xml","vendor":"Go standard library","product":"encoding/xml","tier":"tail","description":{"text":"Uncontrolled recursion in Decoder.Skip in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a deeply nested XML document.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02559,"percentile":0.85467,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/cl/417062","tags":[]},{"url":"https://go.googlesource.com/go/+/08c46ed43d80bbb67cb904944ea3417989be4af3","tags":[]},{"url":"https://go.dev/issue/53614","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2022-0521","tags":[]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":17.09}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"encoding/xml","versions":["< 1.17.12",">= 1.18.0-0, < 1.18.4"]}],"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.17.12",">=1.18.0-0, <1.18.4"],"patched":["1.17.12","1.18.4"],"from":["GO-2022-0521"],"provenance":"source"}],"summary":{"text":"The encoding/xml package in the Go standard library contains an uncontrolled recursion flaw in Decoder.Skip, which affects versions before Go 1.17.12 and Go 1.18.4. An attacker who supplies a deeply nested XML document can exhaust the stack and cause a panic.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:44Z"},"euvd":{"id":"EUVD-2022-32613","exploited":false,"provenance":"source"}}