Gnu Tar vulnerabilities
17 known vulnerabilities affecting gnu/tar.
Total CVEs
17
CISA KEV
0
Public exploits
2
Exploited in wild
0
Severity breakdown
CRITICAL1HIGH3MEDIUM10LOW3
Vulnerabilities
Page 1 of 1
CVE-2025-45582MEDIUMCVSS 4.1fixed in 1.35≤ 1.352025-07-11
CVE-2025-45582 [MEDIUM] CWE-24 CVE-2025-45582: GNU Tar through 1.35 allows file overwrite via directory traversal in crafted TAR archives, with a c
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 critical directory. Second, the victim must extract an archive that contains a critical file, specified via a relative pathname that begins with the sym
cvelistv5nvd
CVE-2023-39804MEDIUMCVSS 6.2fixed in 1.352024-03-27
CVE-2023-39804 [MEDIUM] CVE-2023-39804: In GNU tar before 1.35, mishandled extension attributes in a PAX archive can lead to an application
In GNU tar before 1.35, mishandled extension attributes in a PAX archive can lead to an application crash in xheader.c.
nvd
CVE-2022-48303MEDIUMCVSS 5.5≤ 1.342023-01-30
CVE-2022-48303 [MEDIUM] CWE-125 CVE-2022-48303: GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory f
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.
nvd
CVE-2021-20193LOWCVSS 3.3≤ 1.332021-03-26
CVE-2021-20193 [LOW] CWE-401 CVE-2021-20193: A flaw was found in the src/list.c of tar 1.33 and earlier. This flaw allows an attacker who can sub
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.
nvd
CVE-2019-9923HIGHCVSS 7.5fixed in 1.322019-03-22
CVE-2019-9923 [HIGH] CWE-476 CVE-2019-9923: pax_decode_header in sparse.c in GNU Tar before 1.32 had a NULL pointer dereference when parsing cer
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.
nvd
CVE-2018-20482MEDIUMCVSS 4.7≤ 1.302018-12-26
CVE-2018-20482 [MEDIUM] CWE-835 CVE-2018-20482: GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which all
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).
nvd
CVE-2016-6321HIGHCVSS 7.5v1.14v1.15+19 more2016-12-09
CVE-2016-6321 [HIGH] CWE-22 CVE-2016-6321: Directory traversal vulnerability in the safer_name_suffix function in GNU tar 1.14 through 1.29 mig
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 via vectors related to improper sanitization of the file_name parameter, aka POINTYFEATHER.
nvd
CVE-2010-0624MEDIUMCVSS 6.8≤ 1.22v1.13+22 more2010-03-15
CVE-2010-0624 [MEDIUM] CWE-119 CVE-2010-0624: Heap-based buffer overflow in the rmt_read__ function in lib/rtapelib.c in the rmt client functional
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 service (memory corruption) or possibly execute arbitrary code by sending more data than was requested, related to archive filenames that contain a : (col
nvd
CVE-2007-4476HIGHCVSS 7.5PoCfixed in 1.192007-09-05
CVE-2007-4476 [HIGH] CWE-119 CVE-2007-4476: Buffer overflow in the safer_name_suffix function in GNU tar has unspecified attack vectors and impa
Buffer overflow in the safer_name_suffix function in GNU tar has unspecified attack vectors and impact, resulting in a "crashing stack."
nvd
CVE-2007-4131MEDIUMCVSS 6.8v1.13v1.13.5+14 more2007-08-25
CVE-2007-4131 [MEDIUM] CVE-2007-4131: Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar allows
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) sequences in directory symlinks in a TAR archive.
nvd
CVE-2006-6097MEDIUMCVSS 4.0PoCv1.15.1v1.162006-11-24
CVE-2006-6097 [MEDIUM] CVE-2006-6097: GNU tar 1.16 and 1.15.1, and possibly other versions, allows user-assisted attackers to overwrite ar
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 not properly handled by the extract_archive function in extract.c and extract_mangle function in mangle.c, a variant of CVE-2002-1216.
nvd
CVE-2006-0300MEDIUMCVSS 5.1v1.14v1.14.1+3 more2006-02-24
CVE-2006-0300 [MEDIUM] CVE-2006-0300: Buffer overflow in tar 1.14 through 1.15.90 allows user-assisted attackers to cause a denial of serv
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 headers.
nvd
CVE-2005-1918LOWCVSS 2.6v1.13.252005-12-31
CVE-2005-1918 [LOW] CVE-2005-1918: The original patch for a GNU tar directory traversal vulnerability (CVE-2002-0399) in Red Hat Enterp
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 overwrite arbitrary files via a crafted tar file, probably involving "/../" sequences with a leading "/".
nvd
CVE-2005-2541CRITICALCVSS 10.0v1.15.12005-08-10
CVE-2005-2541 [CRITICAL] CVE-2005-2541: Tar 1.15.1 does not properly warn the user when extracting setuid or setgid files, which may allow l
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.
nvd
CVE-2002-1216MEDIUMCVSS 5.0≤ 1.13.25v1.13.192002-10-28
CVE-2002-1216 [MEDIUM] CVE-2002-1216: GNU tar 1.13.19 and other versions before 1.13.25 allows remote attackers to overwrite arbitrary fil
GNU tar 1.13.19 and other versions before 1.13.25 allows remote attackers to overwrite arbitrary files via a symlink attack, as the result of a modification that effectively disabled the security check.
nvd
CVE-2002-0399MEDIUMCVSS 5.0v1.13.252002-10-10
CVE-2002-0399 [MEDIUM] CVE-2002-0399: Directory traversal vulnerability in GNU tar 1.13.19 through 1.13.25, and possibly later versions, a
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) "./.." string, which removes the leading slash but leaves the "..", a variant of CVE-2001-1267.
nvd
CVE-2001-1267LOWCVSS 2.1≤ 1.13.192001-07-12
CVE-2001-1267 [LOW] CVE-2001-1267: Directory traversal vulnerability in GNU tar 1.13.19 and earlier allows local users to overwrite arb
Directory traversal vulnerability in GNU tar 1.13.19 and earlier allows local users to overwrite arbitrary files during archive extraction via a tar file whose filenames contain a .. (dot dot).
nvd