CVE-2024-34155: Go Standard Library Go/parser

Medium severity, CVSS 4.3. EPSS: 0.8% chance of exploitation in the next 30 days.

Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.

Affected products

  • Go Standard Library Go/parser: before 1.22.7 (fixed in 1.22.7); from 1.23.0-0, before 1.23.1 (fixed in 1.23.1)

Published 2024-09-06. Last modified 2026-06-17.