published 6 Sep 2024 · updated 16 Nov 2026
Stack exhaustion in all Parse functions in go/parser
4.3MediumCVSS 4.3EPSS 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 and 1.23.1.
Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.
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 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket