What’s Vulnerable › Vulnerabilities

CVE-2025-61728: Excessive CPU consumption when building archive index in archive/zip

Description

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 products

How to fix

Upgrade to a fixed version: Go 1.24.12, 1.25.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-61728 or the next vulnerability affects your stack