Vulnerability GO-2025-4014

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
1 year ago
October 29, 2025 at 09:51 PM UTC
Unbounded allocation when parsing GNU sparse map in archive/tar
<1.24.8, >=1.25.0 <1.25.2
<1.24.8, >=1.25.0 <1.25.2

Summary

Unbounded allocation when parsing GNU sparse map in archive/tar

Details

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.

Impacted packages

Timeline

Published
1 year ago
October 29, 2025 at 09:51 PM UTC
Last Modified
1 hour ago
November 23, 2026 at 09:12 PM UTC