Gnu Gzip vulnerabilities
13 known vulnerabilities affecting gnu/gzip.
Total CVEs
13
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL1HIGH3MEDIUM5LOW4
Vulnerabilities
Page 1 of 1
CVE-2022-1271P2HIGHCVSS 8.8fixed in 1.122022-08-31
CVE-2022-1271 [HIGH] CWE-179 CVE-2022-1271: An arbitrary file write vulnerability was found in GNU gzip's zgrep utility. When zgrep is applied o
An arbitrary file write vulnerability was found in GNU gzip's zgrep utility. When zgrep is applied on the attacker's chosen file name (for example, a crafted file name), this can overwrite an attacker's content to an arbitrary attacker-selected file. This flaw occurs due to insufficient validation when processing filenames with two or more newlines wher
nvd
CVE-2026-41992P3HIGHCVSS 7.5≤ 1.142026-06-29
CVE-2026-41992 [HIGH] CWE-126 CVE-2026-41992: GNU gzip contains a global buffer overflow vulnerability in the LZH decompression logic caused by im
GNU gzip contains a global buffer overflow vulnerability in the LZH decompression logic caused by improper reuse of shared global state between different decompression formats within a single execution. GNU gzip maintains a global array that is shared across the LZ77, LZW, and LZH decompression routines and is not reinitialized between files processed
nvd
CVE-2004-0603P4CRITICALCVSS 10.0≤ 1.3.32004-12-06
CVE-2004-0603 [CRITICAL] CVE-2004-0603: gzexe in gzip 1.3.3 and earlier will execute an argument when the creation of a temp file fails inst
gzexe in gzip 1.3.3 and earlier will execute an argument when the creation of a temp file fails instead of exiting the program, which could allow remote attackers or local users to execute arbitrary commands, a different vulnerability than CVE-1999-1332.
nvd
CVE-2010-0001P4MEDIUMCVSS 6.8≤ 1.3.13v1.2.4+14 more2010-01-29
CVE-2010-0001 [MEDIUM] CWE-189 CVE-2010-0001: Integer underflow in the unlzw function in unlzw.c in gzip before 1.4 on 64-bit platforms, as used i
Integer underflow in the unlzw function in unlzw.c in gzip before 1.4 on 64-bit platforms, as used in ncompress and probably others, allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted archive that uses LZW compression, leading to an array index error.
nvd
CVE-2009-2624P4MEDIUMCVSS 6.8≤ 1.3.12v1.2.4+13 more2010-01-29
CVE-2009-2624 [MEDIUM] CVE-2009-2624: The huft_build function in inflate.c in gzip before 1.3.13 creates a hufts (aka huffman) table that
The huft_build function in inflate.c in gzip before 1.3.13 creates a hufts (aka huffman) table that is too small, which allows remote attackers to cause a denial of service (application crash or infinite loop) or possibly execute arbitrary code via a crafted archive. NOTE: this issue is caused by a CVE-2006-4334 regression.
nvd
CVE-2005-1228P4MEDIUMCVSS 5.0v1.2.4v1.3.32005-05-02
CVE-2005-1228 [MEDIUM] CVE-2005-1228: Directory traversal vulnerability in gunzip -N in gzip 1.2.4 through 1.3.5 allows remote attackers t
Directory traversal vulnerability in gunzip -N in gzip 1.2.4 through 1.3.5 allows remote attackers to write to arbitrary directories via a .. (dot dot) in the original filename within a compressed file.
nvd
CVE-2026-41991P4MEDIUMCVSS 4.7≤ 1.142026-06-29
CVE-2026-41991 [MEDIUM] CWE-377 CVE-2026-41991: GNU gzip contains a vulnerability in the gzexe utility related to insecure temporary file handling.
GNU gzip contains a vulnerability in the gzexe utility related to insecure temporary file handling. When the mktemp utility is not available in the user’s PATH, gzexe falls back to constructing a temporary file path based solely on the process ID (PID). This predictable filename is created without exclusive access or existence checks.
A local attacke
nvd
CVE-2001-1228P4HIGHCVSS 7.5v1.2.4v1.2.4a+1 more2001-11-18
CVE-2001-1228 [HIGH] CVE-2001-1228: Buffer overflows in gzip 1.3x, 1.2.4, and other versions might allow attackers to execute code via a
Buffer overflows in gzip 1.3x, 1.2.4, and other versions might allow attackers to execute code via a long file name, possibly remotely if gzip is run on an FTP server.
nvd
CVE-2005-0758P4MEDIUMCVSS 4.6fixed in 1.3.52005-05-13
CVE-2005-0758 [MEDIUM] CVE-2005-0758: zgrep in gzip before 1.3.5 does not properly sanitize arguments, which allows local users to execute
zgrep in gzip before 1.3.5 does not properly sanitize arguments, which allows local users to execute arbitrary commands via filenames that are injected into a sed script.
nvd
CVE-2005-0988P4LOWCVSS 3.7v1.2.4v1.2.4a+1 more2005-05-02
CVE-2005-0988 [LOW] CVE-2005-0988: Race condition in gzip 1.2.4, 1.3.3, and earlier, when decompressing a gzipped file, allows local us
Race condition in gzip 1.2.4, 1.3.3, and earlier, when decompressing a gzipped file, allows local users to modify permissions of arbitrary files via a hard link attack on a file while it is being decompressed, whose permissions are changed by gzip after the decompression is complete.
nvd
CVE-2003-0367P4LOWCVSS 2.1≤ 1.3.52003-07-02
CVE-2003-0367 [LOW] CWE-20 CVE-2003-0367: znew in the gzip package allows local users to overwrite arbitrary files via a symlink attack on tem
znew in the gzip package allows local users to overwrite arbitrary files via a symlink attack on temporary files.
nvd
CVE-2004-1349P4LOWCVSS 2.1fixed in 1.32004-10-04
CVE-2004-1349 [LOW] CWE-269 CVE-2004-1349: gzip before 1.3 in Solaris 8, when called with the -f or -force flags, will change the permissions o
gzip before 1.3 in Solaris 8, when called with the -f or -force flags, will change the permissions of files that are hard linked to the target files, which allows local users to view or modify these files.
nvd
CVE-2004-0970P4LOWCVSS 2.1v1.2.4a2005-02-09
CVE-2004-0970 [LOW] CWE-20 CVE-2004-0970: The (1) gzexe, (2) zdiff, and (3) znew scripts in the gzip package, as used by other packages such a
The (1) gzexe, (2) zdiff, and (3) znew scripts in the gzip package, as used by other packages such as ncompress, allows local users to overwrite files via a symlink attack on temporary files. NOTE: the znew vulnerability may overlap CVE-2003-0367.
nvd