Gnu Tar vulnerabilities
🔔 Create alert RSS Version checker
Published CVEs affecting Gnu Tar: 5 record(s), with affected versions and fixes.cpe:2.3:a:gnu:tar
CVE-2026-5704
Medium · 5.5
CWE-434 Apr 6, 2026
Tar: tar: hidden file injection via crafted archives
A flaw was found in tar. A remote attacker could exploit this vulnerability by crafting a malicious archive, leading to hidden file injection with fully attacker-controlled content. This bypasses pre-extraction inspection mechanisms, potentially allowing an attacker to introduce malicious files onto a system without detection.
CVE-2022-48303
Medium · 5.5
CWE-125 Jan 30, 2023
GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized...
GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.
CVE-2021-20193
Low · 3.3
CWE-125 Mar 26, 2021
Out-of-bounds Read and Missing Release of Memory after Effective Lifetime in tar
A flaw was found in the src/list.c of tar 1.33 and earlier. This flaw allows an attacker who can submit a crafted input file to tar to cause uncontrolled consumption of memory. The highest threat from this vulnerability is to system availability.
CVE-2019-9923
High · 7.5
CWE-476 Mar 22, 2019
pax_decode_header in sparse.c in GNU Tar before 1.32 had a NULL pointer dereference when parsing...
pax_decode_header in sparse.c in GNU Tar before 1.32 had a NULL pointer dereference when parsing certain archives that have malformed extended headers.
CVE-2018-20482
Medium · 4.7
CWE-835 Dec 26, 2018
GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which...
GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which allows local users to cause a denial of service (infinite read loop in sparse_dump_region in sparse.c) by modifying a file that is supposed to be archived by a different user's process (e.g., a system backup running as root).