{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-28131","id":"CVE-2022-28131","title":"Stack exhaustion from deeply nested XML documents in encoding/xml","description":"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.","descriptionLong":"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.","published":"2022-08-09T00:00:00.000Z","updated":"2026-10-28T02:31:11.441469308Z","reserved":"2022-03-29T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"Go","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Go standard library encoding/xml"],"affectedProducts":[{"vendor":"Go standard library","product":"encoding/xml","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.17.12","status":"affected","versionType":"semver"},{"version":"1.18.0-0","lessThan":"1.18.4","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"stdlib","purl":"pkg:golang/stdlib","ranges":["<1.17.12",">=1.18.0-0 <1.18.4"],"fixed":["1.17.12","1.18.4"],"advisory":"GO-2022-0521"}],"cwes":["CWE-674"],"aliases":["BIT-golang-2022-28131","GO-2022-0521"],"references":[{"url":"https://go.dev/cl/417062","tags":["x_transferred","web","fix"]},{"url":"https://go.googlesource.com/go/+/08c46ed43d80bbb67cb904944ea3417989be4af3","tags":["x_transferred","web","fix"]},{"url":"https://go.dev/issue/53614","tags":["x_transferred","web","report"]},{"url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE","tags":["x_transferred","web"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0521","tags":["x_transferred","web"]},{"url":"https://pkg.go.dev","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28131.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28131","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02559,"epssPercentile":0.85401,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-28131","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28131","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-28131","ok":true,"note":"1 package"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-28131","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["go"],"critical":[],"attention":null}