CVE-2022-30635: Golang Go

High severity, CVSS 7.5. EPSS: 1.8% chance of exploitation in the next 30 days.

Uncontrolled recursion in Decoder.Decode in encoding/gob before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a message which contains deeply nested structures.

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.