Go standard library Archive/tar vulnerabilities
🔔 Create alert RSS Version checker
Published CVEs affecting Go standard library Archive/tar: 2 record(s), with affected versions and fixes.
CVE-2026-32288
Medium · 5.5
CWE-770 Apr 7, 2026
Unbounded allocation for old GNU sparse in archive/tar
tar.Reader can allocate an unbounded amount of memory when reading a maliciously-crafted archive containing a large number of sparse regions encoded in the "old GNU sparse map" format.
CVE-2025-58183
Medium · 4.3
Oct 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.