← Vulnerability feed

Vulnerability record · CVE-2004-0970 · published 9 February 2005

CVE-2004-0970: Gnu gzip vulnerability

Gnu · Gzip

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.

2.1 CVSS 2.0 Low EPSS 0.36% · top 69.6%
2.1CVSS 2.0 base score
0.36%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
12References
16 Jun 2026Last modified by NVD

Description

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.

AV:L/AC:L/Au:N/C:N/I:P/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2004-0970 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2004-0603Gnu gzip vulnerabilitygzexe 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 rem…EPSS 3.1%8.8CVE-2022-1271Gnu gzip improper input validation vulnerabilityAn 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…EPSS 5.5%7.5CVE-2001-1228Gnu gzip vulnerabilityBuffer 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…EPSS 3.1%6.9CVE-2026-41992Gnu gzip vulnerabilityGNU gzip contains a global buffer overflow vulnerability in the LZH decompression logic caused by improper reuse of shared global state between diffe…EPSS 0.62%6.8CVE-2009-2624Gnu gzip improper input validation vulnerabilityThe 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 ca…EPSS 4.2%6.8CVE-2010-0001Gnu gzip vulnerabilityInteger 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 at…EPSS 4.8%5.0CVE-2005-1228Gnu gzip vulnerabilityDirectory 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 do…EPSS 3.6%4.6CVE-2005-0758Gnu gzip vulnerabilityzgrep in gzip before 1.3.5 does not properly sanitize arguments, which allows local users to execute arbitrary commands via filenames that are inject…EPSS 0.53%

Source: NIST National Vulnerability Database (record CVE-2004-0970), CISA KEV, FIRST EPSS (scores of 2026-11-14). This page is refreshed as NVD updates the record.