ADVISORIES

Go Vulnerability Database

GO-2026-4342

Excessive CPU consumption when building archive index in archive/zip

Details

archive/zip uses a super-linear file name indexing algorithm that is invoked the first time a file in an archive is opened. This can lead to a denial of service when consuming a maliciously constructed ZIP archive.

Affected packages

EcosystemPackageAffected versions
Gostdlib
All versions before 1.24.12 (fixed in 1.24.12)
From 1.25.0 before 1.25.6 (fixed in 1.25.6)

References