CVE-2022-30633: Golang Go

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

Uncontrolled recursion in Unmarshal in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via unmarshalling an XML document into a Go struct which has a nested field that uses the 'any' field tag.

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.