CVE-2025-58183: Go standard library archive/tar · Uncontrolled Resource Consumption
Affects Go standard library archive/tarSource CVE Database V5
Not known to be exploited · CVSS 4.3 Medium.
Data as of 26 Oct 2026, 07:57 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 29 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Gogithub.com/golang/go/src/archive/tarpkg:golang/github.com/golang/go/src/archive/tarOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-58183, European organizations should: 1) Update Go to a version beyond 1.25.0 once a patch is released that enforces limits on sparse region counts in tar.Reader. 2) Implement input validation and limit processing of untrusted tar archives, especially those using GNU pax sparse format. 3) Employ resource monitoring and memory usage limits on processes handling tar archives to detect and prevent excessive memory consumption. 4) Use sandboxing or containerization to isolate archive processing components, minimizing impact on the host system. 5) Where feasible, avoid automatic processing of tar archives from untrusted sources or require manual verification before extraction. 6) Incorporate rate limiting and scanning of compressed inputs to detect unusually small compressed files that decompress to large sizes. 7) Monitor logs and alerts for abnormal memory usage patterns during archive extraction. These steps go beyond generic advice by focusing on controlling resource consumption, isolating vulnerable components, and enforcing strict input handling policies.
Description
tar.Reader does not set a maximum size on the number of sparse region data blocks in GNU tar pax 1.0 sparse files. A maliciously-crafted archive containing a large number of sparse regions can cause a Reader to read an unbounded amount of data from the archive into memory. When reading from a compressed source, a small compressed input can result in large allocations.