VDB
KO

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / stdlib
Introduced in: 0 Fixed in: 1.24.12
Fix go get stdlib@v1.24.12

References