GO-2025-4011

Source
https://pkg.go.dev/vuln/GO-2025-4011
Import Source
https://vuln.go.dev/ID/GO-2025-4011.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2025-4011
Aliases
Published
2025-10-29T21:50:00Z
Modified
2025-11-06T13:59:40.997708Z
Summary
Parsing DER payload can cause memory exhaustion in encoding/asn1
Details

Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2025-4011",
    "review_status": "REVIEWED"
}
References
Credits
    • Jakub Ciolek

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.24.8
Introduced
1.25.0
Fixed
1.25.2

Ecosystem specific

{
    "imports": [
        {
            "path": "encoding/asn1",
            "symbols": [
                "Unmarshal",
                "UnmarshalWithParams",
                "parseSequenceOf"
            ]
        }
    ]
}