{"id":"GO-2026-6088","summary":"Add recursion depth guard during decode in encoding/xml","details":"Previously, DecodeElement would reset the depth counter causing it to never fire; this could lead to stack exhaustion.","aliases":["BIT-golang-2026-56859","CVE-2026-56859"],"modified":"2026-09-10T10:41:45.066977966Z","published":"2026-08-13T21:43:54Z","related":["RHSA-2026:54835","RHSA-2026:54836","RHSA-2026:57415","RHSA-2026:60304","RHSA-2026:60305","RHSA-2026:60306","RHSA-2026:61882","RHSA-2026:62404","RHSA-2026:62405","RHSA-2026:62406","RHSA-2026:62407","RHSA-2026:62602","RHSA-2026:62631","RHSA-2026:62753","RHSA-2026:62754","RHSA-2026:62803","RHSA-2026:63022","RHSA-2026:63163","RHSA-2026:65116","RHSA-2026:65117","RHSA-2026:65153","RHSA-2026:65335","RHSA-2026:65336","RHSA-2026:65359","RHSA-2026:65534","RHSA-2026:65880","RHSA-2026:65886","RHSA-2026:65895","RHSA-2026:65918","RHSA-2026:66016","RHSA-2026:66327"],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-6088","review_status":"REVIEWED"},"references":[{"type":"REPORT","url":"https://go.dev/issue/80481"},{"type":"FIX","url":"https://go.dev/cl/803320"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/94pEornpRlI"}],"affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.25.13"},{"introduced":"1.26.0-0"},{"fixed":"1.26.6"},{"introduced":"1.27.0-0"},{"fixed":"1.27.0-rc.3"}]}],"ecosystem_specific":{"imports":[{"symbols":["Decoder.Decode","Decoder.DecodeElement","Decoder.RawToken","Decoder.Skip","Decoder.Token","Decoder.pop","Decoder.push","Decoder.unmarshal","Decoder.unmarshalPath","Unmarshal"],"path":"encoding/xml"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-6088.json"}}],"schema_version":"1.9.0"}