GO-2026-6088

Source
https://pkg.go.dev/vuln/GO-2026-6088
Import Source
https://vuln.go.dev/ID/GO-2026-6088.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-6088
Aliases
  • CVE-2026-56859
Related
Published
2026-08-13T21:43:54Z
Modified
2026-08-14T09:41:58.916583585Z
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.

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2026-6088",
    "review_status": "REVIEWED"
}
References

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
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": [
        {
            "path": "encoding/xml",
            "symbols": [
                "Decoder.Decode",
                "Decoder.DecodeElement",
                "Decoder.RawToken",
                "Decoder.Skip",
                "Decoder.Token",
                "Decoder.pop",
                "Decoder.push",
                "Decoder.unmarshal",
                "Decoder.unmarshalPath",
                "Unmarshal"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-6088.json"