{"id":"CVE-2026-56859","published":"2026-08-13T21:58:52Z","modified":"2026-08-14T15:21:46Z","title":"Add recursion depth guard during decode in encoding/xml","vendor":"Go standard library","product":"encoding/xml","tier":"tail","description":{"text":"Previously, DecodeElement would reset the depth counter causing it to never fire; this could lead to stack exhaustion.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0063,"percentile":0.44591,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://go.dev/issue/80481","tags":[]},{"url":"https://go.dev/cl/803320","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/94pEornpRlI","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-6088","tags":[]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":8.92},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"encoding/xml","versions":["< 1.25.13",">= 1.26.0-0, < 1.26.6",">= 1.27.0-0, < 1.27.0-rc.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-14T15:21:09.615961Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.25.13",">=1.26.0-0, <1.26.6",">=1.27.0-0, <1.27.0-rc.3"],"patched":["1.25.13","1.26.6","1.27.0-rc.3"],"from":["GO-2026-6088"],"provenance":"source"}],"summary":{"text":"The flaw is in the encoding/xml package of the Go standard library, where a recursion depth counter used during decoding was reset in DecodeElement, so the guard that should stop excessive nesting never triggers. An attacker who can supply XML input to an application that decodes it with this package can cause stack exhaustion through deeply nested elements, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:27Z"},"euvd":{"id":"EUVD-2026-58509","exploited":false,"provenance":"source"}}