6.5Medium

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

Go standard library archive/zip Published: (9 months ago)

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.

Weakness (CWE): CWE-407CWE-770

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Go standard library archive/zip < 1.24.12, 1.25.0 – < 1.25.6
golang go < 1.24.12

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* < 1.24.12
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* ≥ 1.25.0 < 1.25.6