GNU tar 1.0: tar.Reader Sparse Region DoS via Unbounded Allocation
CVE-2025-58183 Published on October 29, 2025
Unbounded allocation when parsing GNU sparse map in archive/tar
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.
Vulnerability Analysis
CVE-2025-58183 can be exploited with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a small impact on availability.
Products Associated with CVE-2025-58183
Want to know whenever a new CVE is published for GNU Tar? stack.watch will email you.
Affected Versions
Go standard library archive/tar:- Before 1.24.8 is affected.
- Version 1.25.0 and below 1.25.2 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.