Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gzip | 1.3.5-10 | — |
| Debian 13 | gzip | 1.3.5-10 | — |
| Debian 12 | gzip | 1.3.5-10 | — |
| Debian 3.0 | gzip | 1.3.2-3woody5 | DSA-752-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | gzip | 1.3.3-15.rhel4 | RHSA-2005:357 |
| RHEL 3 | gzip | 1.3.3-12.rhel3 | RHSA-2005:357 |
Advisories 2
- RHSA-2005:357 Red Hat Security Advisory: gzip security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-752-1 gzip - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- APPLE-SA-2006-08-01 vendor-advisory
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=305255
- 15721 vdb-entry
- gzip-n-directory-traversal(20199) vdb-entry
- 22033 third-party-advisory
- ADV-2006-3101 vdb-entry
- 21253 third-party-advisory
- DSA-752 vendor-advisory
- 101816 vendor-advisory
- RHSA-2005:357 vendor-advisory
- 19289 vdb-entry
- TA06-214A third-party-advisory
- 15047 third-party-advisory
- oval:org.mitre.oval:def:382 vdb-entry signature
- oval:org.mitre.oval:def:170 vdb-entry signature
- oval:org.mitre.oval:def:11057 vdb-entry signature
- 20050420 gzip directory traversal vulnerability mailing-list
- 18100 third-party-advisory
- SSA:2006-262 vendor-advisory