The tar.Reader library is a part of the GNU tar package, used to read and extract archives. A maliciously-crafted archive containing sparse regions can cause the Reader to consume excessive memory, leading to a denial-of-service (DoS) condition.
The tar.Reader library is a part of the GNU tar package, used to read and extract archives. A maliciously-crafted archive containing sparse regions can cause the Reader to consume excessive memory, leading to a denial-of-service (DoS) condition.
You're affected if you use GNU tar versions 1.32.0-2ubuntu1~20.04.3+1~20.04.4 or earlier on Ubuntu systems, or any other version that doesn't set a maximum size for sparse region data blocks. Check with: tar --version to see the exact version.
Note: This is not directly related to tar.Reader in Go, which has a different CVE (CVE-2025-4014). The current CVE affects GNU tar on Linux systems.
sudo apt-get update && sudo apt-get install tar=1.32.0-2ubuntu1~20.04.3+1~20.04.4