Skip to main content
CVE-2025-61728VulnerabilityPublished

CVE-2025-61728: Go standard library archive/zip · Inefficient Algorithmic Complexity

Affects Go standard library archive/zipSource CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium : upgrade to 1.25.6 or 1.24.12 when convenient.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.25.6, 1.24.12
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade Go standard library archive/zip to 1.25.6 or 1.24.12.

Affected software

ProductAffectedFixed in
Go standard libraryarchive/zipAffected
  • <1.24.12
  • >=1.25.0 <1.25.6
Fixed in
  • 1.25.6
  • 1.24.12
Goarchive/zippkg:golang/archive/zipOther threatsAffected
  • <1.24.12
  • >=1.25.0 <1.25.6
Fixed in
  • 1.24.12
  • 1.25.6
Gogithub.com/golang/go/archive/zippkg:golang/github.com/golang/go/archive/zipOther threatsAffected
  • =0
  • <=1.25.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Avoid processing ZIP archives from untrusted or unauthenticated sources, especially in automated workflows. 2. Implement strict resource limits (CPU time, memory usage) on processes handling ZIP files to prevent resource exhaustion. 3. Employ sandboxing or containerization for ZIP processing components to isolate potential DoS effects. 4. Monitor system and application logs for unusual CPU spikes or performance degradation during ZIP file handling. 5. Educate users and administrators about the risks of opening ZIP files from unknown origins to reduce user interaction exploitation. 6. Track Go project updates and apply patches promptly once available. 7. Consider alternative ZIP processing libraries or tools with known resistance to algorithmic complexity attacks if immediate patching is not feasible. 8. Integrate ZIP file scanning with security tools that can detect malformed or suspicious archive structures. 9. For critical systems, implement fallback mechanisms to maintain service availability if ZIP processing fails or is delayed. 10. Conduct regular security assessments and code reviews of applications using the Go archive/zip package to identify and mitigate potential abuse scenarios.

Description

CVE-2025-61728 is a medium severity vulnerability in the Go standard library's archive/zip package, caused by an inefficient super-linear file name indexing algorithm. When a file in a ZIP archive is opened for the first time, this algorithm is triggered, which can be exploited by a maliciously crafted ZIP archive to cause a denial of service (DoS) by consuming excessive CPU resources. The vulnerability affects all versions up to and including Go 1.25.0. Exploitation requires no privileges but does require user interaction to open a ZIP file. There are no known exploits in the wild yet, and no patches have been published at the time of this report. European organizations using Go for processing ZIP archives in network-facing or user-facing applications are at risk of service disruption. Mitigation involves avoiding untrusted ZIP files, implementing resource limits on ZIP processing, and monitoring for abnormal CPU usage. Countries with significant software development industries and critical infrastructure relying on Go, such as Germany, France, and the UK, are more likely to be impacted.

References

Community reviews

Loading reviews…