Go Vulnerability Database
GO-2025-4011
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | stdlib | All versions before 1.24.8 (fixed in 1.24.8) From 1.25.0 before 1.25.2 (fixed in 1.25.2) |