GO-2024-3106 · published 6 Sep 2024 · updated 16 Nov 2026
Stack exhaustion in Decoder.Decode in encoding/gob
7.5HighCVSS 7.5EPSS 1%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.22.7, 1.23.1 and stdlib 1.23.1.
Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Go standard library | <1.22.7, >=1.23.0-0 <1.23.1 | 1.22.7, 1.23.1 | |
| go: stdlib | >=1.23.0-0 <1.23.1 | 1.23.1 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in stdlib (Go), strongest first
7.8HighPublic exploit
Embed
A live severity badge for an advisory, README or ticket