CVE-2021-39293: Golang Go

High severity, CVSS 7.5. EPSS: 7.4% probability of exploitation activity in the next 30 days.

In archive/zip in Go before 1.16.8 and 1.17.x before 1.17.1, a crafted archive header (falsely designating that many files are present) can cause a NewReader or OpenReader panic. NOTE: this issue exists because of an incomplete fix for CVE-2021-33196.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Golang Go, before 1.16.8: fixed in 1.16.8
  • Golang Go, from 1.17.0, before 1.17.1: fixed in 1.17.1

Affected products

Affected packages

Published 2022-01-24. Last modified 2026-06-17.