Uncaught Exception Affecting std/archive/zip package, versions <1.16.8>=1.17.0-0 <1.17.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
6.93% (94th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-STDARCHIVEZIP-14564382
  • published6 Jan 2026
  • disclosed18 May 2022
  • creditOSS-Fuzz Project, Emmanuel Odeke

Introduced: 18 May 2022

CVE-2021-39293  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade std/archive/zip to version 1.16.8, 1.17.1 or higher.

Overview

std/archive/zip is a Go standard library package std/archive/zip

Affected versions of this package are vulnerable to Uncaught Exception.

Go Vulnerability Report:
via the NewReader or OpenReader functions when processing an archive that specifies an unusually large number of files. An attacker can trigger a panic or cause an unrecoverable fatal error by supplying a crafted archive with manipulated file count metadata.

CVSS Base Scores

version 4.0
version 3.1