CVE-2022-2879: Golang Go

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

Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of header blocks to 1 MiB.

Affected products

  • Golang Go: before 1.18.7 (fixed in 1.18.7); from 1.19.0, before 1.19.2 (fixed in 1.19.2)

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