published 6 Sep 2024 · updated 16 Nov 2026
Stack exhaustion in Parse in go/build/constraint
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 and 1.23.1.
Calling Parse on a "// +build" build tag line with deeply nested expressions 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