Go standard library archive/tar vulnerabilities (CVE)

CVE records published for Go standard library archive/tar, newest first. Follow to get an email when a new one appears.

3 results
4.3Medium
CVE-2025-58183

Unbounded allocation when parsing GNU sparse map in archive/tar

Go standard library 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 archiv…

Unscored
CVE-2022-2879

Unbounded memory consumption when reading headers in archive/tar

Go standard library archive/tar

Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of …

2.0%EPSS