CVE-2022-30631: Golang Go

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

Uncontrolled recursion in Reader.Read in compress/gzip before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via an archive containing a large number of concatenated 0-length compressed files.

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.