GNU Tar vulnerabilities
20 CVEs affecting GNU Tar, 0 known to be exploited (CISA KEV), with EPSS scores. Latest: CVE-2026-18477, published 2026-08-03.
More from GNU.
Highest priority
Known exploited (CISA KEV) first, then by EPSS exploit probability.
- CVE-2016-6321, published 2016-12-09. High severity, CVSS 7.5. EPSS: 16% probability of exploitation activity in the next 30 days. Directory traversal vulnerability in the safer_name_suffix function in GNU tar 1.14 through 1.29 might allow remote attackers to bypass an intended protection mechanism and write to arbitrary files…
- CVE-2007-4476, published 2007-09-05. High severity, CVSS 7.5. EPSS: 15% probability of exploitation activity in the next 30 days. Buffer overflow in the safer_name_suffix function in GNU tar has unspecified attack vectors and impact, resulting in a "crashing stack."
- CVE-2006-6097, published 2006-11-24. Medium severity, CVSS 4.0. EPSS: 12% probability of exploitation activity in the next 30 days. GNU tar 1.16 and 1.15.1, and possibly other versions, allows user-assisted attackers to overwrite arbitrary files via a tar file that contains a GNUTYPE_NAMES record with a symbolic link, which is…
- CVE-2006-0300, published 2006-02-24. Medium severity, CVSS 5.1. EPSS: 5.2% probability of exploitation activity in the next 30 days. Buffer overflow in tar 1.14 through 1.15.90 allows user-assisted attackers to cause a denial of service (application crash) and possibly execute code via unspecified vectors involving PAX extended…
- CVE-2010-0624, published 2010-03-15. Medium severity, CVSS 6.8. EPSS: 4.7% probability of exploitation activity in the next 30 days. Heap-based buffer overflow in the rmt_read__ function in lib/rtapelib.c in the rmt client functionality in GNU tar before 1.23 and GNU cpio before 2.11 allows remote rmt servers to cause a denial of…
- CVE-2005-2541, published 2005-08-10. High severity, CVSS 10.0. EPSS: 4.0% probability of exploitation activity in the next 30 days. Tar 1.15.1 does not properly warn the user when extracting setuid or setgid files, which may allow local users or remote attackers to gain privileges.
- CVE-2002-0399, published 2002-10-10. Medium severity, CVSS 5.0. EPSS: 3.6% probability of exploitation activity in the next 30 days. Directory traversal vulnerability in GNU tar 1.13.19 through 1.13.25, and possibly later versions, allows attackers to overwrite arbitrary files during archive extraction via a (1) "/.." or (2)…
- CVE-2019-9923, published 2019-03-22. High severity, CVSS 7.5. EPSS: 3.2% probability of exploitation activity in the next 30 days. 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-2005-1918, published 2005-12-31. Low severity, CVSS 2.6. EPSS: 2.9% probability of exploitation activity in the next 30 days. The original patch for a GNU tar directory traversal vulnerability (CVE-2002-0399) in Red Hat Enterprise Linux 3 and 2.1 uses an "incorrect optimization" that allows user-assisted attackers to…
- CVE-2007-4131, published 2007-08-25. Medium severity, CVSS 6.8. EPSS: 2.7% probability of exploitation activity in the next 30 days. Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar allows user-assisted remote attackers to overwrite arbitrary files via certain //.. (slash slash dot dot)…
Latest
- CVE-2026-18477, published 2026-08-03. Medium severity, CVSS 4.4. EPSS: 0.1% probability of exploitation activity in the next 30 days. A TOCTOU (Time-of-Check Time-of-Use) vulnerability in GNU tar's incremental dumpdir 'X' rename handling allows a local attacker with write access to a directory being backed up to influence the…
- CVE-2026-18508, published 2026-08-03. Medium severity, CVSS 4.4. EPSS: 0.2% probability of exploitation activity in the next 30 days. A flaw was found in GNU tar. When extracting an archive with the --one-top-level option, hardlink targets are not confined to the designated top-level directory and may resolve relative to the…
- CVE-2026-5704, published 2026-04-06. Medium severity, CVSS 5.5. EPSS: 0.3% probability of exploitation activity in the next 30 days. 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…
- CVE-2025-45582, published 2025-07-11. Medium severity, CVSS 4.1. EPSS: 0.5% probability of exploitation activity in the next 30 days. GNU Tar through 1.35 allows file overwrite via directory traversal in crafted TAR archives, with a certain two-step process. First, the victim must extract an archive that contains a ../ symlink to a…
- CVE-2023-39804, published 2024-03-27. Medium severity, CVSS 6.2. EPSS: 0.4% probability of exploitation activity in the next 30 days. In GNU tar before 1.35, mishandled extension attributes in a PAX archive can lead to an application crash in xheader.c.
- CVE-2022-48303, published 2023-01-30. Medium severity, CVSS 5.5. EPSS: 0.6% probability of exploitation activity in the next 30 days. 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…
- CVE-2021-20193, published 2021-03-26. Low severity, CVSS 3.3. EPSS: 1.1% probability of exploitation activity in the next 30 days. 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…
- CVE-2018-20482, published 2018-12-26. Medium severity, CVSS 4.7. EPSS: 0.5% probability of exploitation activity in the next 30 days. 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)…