GO-2026-5972

Source
https://pkg.go.dev/vuln/GO-2026-5972
Import Source
https://vuln.go.dev/ID/GO-2026-5972.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-5972
Aliases
  • CVE-2026-33818
Published
2026-08-13T21:43:54Z
Modified
2026-08-13T22:00:14.220772136Z
Summary
Enforce maximum recursion depth in encoding/asn1
Details

Enforce a recursion limit in Unmarshal to prevent stack exhaustion when parsing deeply-nested, recursive structures.

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2026-5972",
    "review_status": "REVIEWED"
}
References
Credits
    • Marwan Atia (marwansamir688@gmail.com)

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/asn1",
            "symbols": [
                "Unmarshal",
                "UnmarshalWithParams",
                "parseField",
                "parseSequenceOf"
            ]
        }
    ]
}

Database specific

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