
CVE catalog
CVE-2005-0758
gzip: CVE-2005-0758
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.53% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | gzip | sid | 1.14-1 | fixed |
| Debian | gzip | forky | 1.14-1 | fixed |
| Debian | gzip | trixie | 1.13-1+deb13u1 | fixed |
| Debian | gzip | bookworm | 1.12-1 | fixed |
| Debian | bzip2 | sid | 1.0.8-6 | fixed |
| Debian | bzip2 | forky | 1.0.8-6 | fixed |
| Debian | bzip2 | trixie | 1.0.8-6 | fixed |
| Debian | bzip2 | bookworm | 1.0.8-5 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | gzip | source | sid | 1.3.5-10 | low | Not reported | Not reported |
| Debian | gzip | source | forky | 1.3.5-10 | low | Not reported | Not reported |
| Debian | gzip | source | trixie | 1.3.5-10 | low | Not reported | Not reported |
| Debian | gzip | source | bookworm | 1.3.5-10 | low | Not reported | Not reported |
| Debian | bzip2 | source | sid | 1.0.2-8.1 | low | Not reported | [321286] |
| Debian | bzip2 | source | forky | 1.0.2-8.1 | low | Not reported | [321286] |
| Debian | bzip2 | source | trixie | 1.0.2-8.1 | low | Not reported | [321286] |
| Debian | bzip2 | source | bookworm | 1.0.2-8.1 | low | Not reported | [321286] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [bzip2]Fixed
Source package: [bzip2]
Details (2)
1.0.8-5+b1· amd64 · bookwormFixed · Fixed:
1.0.2-8.1dsa · bzip2 · debian · bookworm; dsa · bzip2 · debian · 12
1.0.8-5+b1· arm64 · bookwormFixed · Fixed:
1.0.2-8.1dsa · bzip2 · debian · bookworm; dsa · bzip2 · debian · 12
- [bzip2-doc]Fixed
Source package: [bzip2]
Details (2)
1.0.8-5· all · bookwormFixed · Fixed:
1.0.2-8.1dsa · bzip2 · debian · bookworm; dsa · bzip2 · debian · 12
1.0.8-5· all · bookwormFixed · Fixed:
1.0.2-8.1dsa · bzip2 · debian · bookworm; dsa · bzip2 · debian · 12
- [gzip]Fixed
Details (2)
1.12-1· amd64 · bookwormFixed · Fixed:
1.3.5-10dsa · gzip · debian · bookworm; dsa · gzip · debian · 12
1.12-1· arm64 · bookwormFixed · Fixed:
1.3.5-10dsa · gzip · debian · bookworm; dsa · gzip · debian · 12
- [gzip-win32]Fixed
Source package: [gzip]
Details (2)
1.12-1· all · bookwormFixed · Fixed:
1.3.5-10dsa · gzip · debian · bookworm; dsa · gzip · debian · 12
1.12-1· all · bookwormFixed · Fixed:
1.3.5-10dsa · gzip · debian · bookworm; dsa · gzip · debian · 12
- [libbz2-1.0]Fixed
Source package: [bzip2]
Details (2)
1.0.8-5+b1· amd64 · bookwormFixed · Fixed:
1.0.2-8.1dsa · bzip2 · debian · bookworm; dsa · bzip2 · debian · 12
1.0.8-5+b1· arm64 · bookwormFixed · Fixed:
1.0.2-8.1dsa · bzip2 · debian · bookworm; dsa · bzip2 · debian · 12
- [libbz2-dev]Fixed
Source package: [bzip2]
Details (2)
1.0.8-5+b1· amd64 · bookwormFixed · Fixed:
1.0.2-8.1dsa · bzip2 · debian · bookworm; dsa · bzip2 · debian · 12
1.0.8-5+b1· arm64 · bookwormFixed · Fixed:
1.0.2-8.1dsa · bzip2 · debian · bookworm; dsa · bzip2 · debian · 12
[Debian 13 (Trixie)]
- [bzip2]Fixed
Details (2)
1.0.8-6· amd64 · trixieFixed · Fixed:
1.0.2-8.1dsa · bzip2 · debian · 13
1.0.8-6· arm64 · trixieFixed · Fixed:
1.0.2-8.1dsa · bzip2 · debian · 13
- [bzip2-doc]Fixed
Source package: [bzip2]
Details (2)
1.0.8-6· all · trixieFixed · Fixed:
1.0.2-8.1dsa · bzip2 · debian · 13
1.0.8-6· all · trixieFixed · Fixed:
1.0.2-8.1dsa · bzip2 · debian · 13
- [gzip]Fixed
Details (2)
1.13-1· amd64 · trixieFixed · Fixed:
1.3.5-10dsa · gzip · debian · 13
1.13-1· arm64 · trixieFixed · Fixed:
1.3.5-10dsa · gzip · debian · 13
- [libbz2-1.0]Fixed
Source package: [bzip2]
Details (2)
1.0.8-6· amd64 · trixieFixed · Fixed:
1.0.2-8.1dsa · bzip2 · debian · 13
1.0.8-6· arm64 · trixieFixed · Fixed:
1.0.2-8.1dsa · bzip2 · debian · 13
- [libbz2-dev]Fixed
Source package: [bzip2]
Details (2)
1.0.8-6· amd64 · trixieFixed · Fixed:
1.0.2-8.1dsa · bzip2 · debian · 13
1.0.8-6· arm64 · trixieFixed · Fixed:
1.0.2-8.1dsa · bzip2 · debian · 13
Observed: