GO-2026-4342
Excessive CPU consumption when building archive index in archive/zip
At a glance
- Published
- Updated
- CVE
- CVE-2025-61728
- Aliases
- BIT-golang-2025-61728
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 packages
| Package | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.24.12, introduced 1.25.0, fixed 1.25.6 |
References
- https://go.dev/cl/736713 FIX
- https://go.dev/issue/77102 REPORT
- https://groups.google.com/g/golang-announce/c/Vd2tYVM8eUc WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |