CVE-2025-58183

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.

  • Published Oct 29, 2025
  • CVSS 4.3 medium
  • 0.4% chance of exploitation in the next 30 days (EPSS)

Affected software

In the news

CVE-2025-58183 at the National Vulnerability Database