CVE-2024-34155

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

VendorProductVersionsFixed
Go standard library<1.22.7, >=1.23.0-0 <1.23.11.22.7, 1.23.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-34155 severity on Zeptric[![CVE-2024-34155](https://zeptric.io/badge/cve/CVE-2024-34155.svg)](https://zeptric.io/cve/CVE-2024-34155)