CVE-2022-1962: Golang Go

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

Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.

Affected products

  • Golang Go: before 1.17.12 (fixed in 1.17.12); from 1.18.0, before 1.18.4 (fixed in 1.18.4)

Published 2022-08-10. Last modified 2026-06-17.