CVE-2005-0758 json
zgrep in gzip before 1.3.5 does not properly sanitize arguments, which allows local users to execute arbitrary commands via filenames that…
published 2005-05-13 21 y ago modified 2026-06-16 4 mo ago also EUVD-2005-0759
- cvss
- 4.6
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- gnu gzip 1.3.5
- gzip Debian 14, Debian 13, Debian 12 1.3.5-10
- bzip2 Debian 14, Debian 13, Debian 12 1.0.2-8.1
debian advisories DEBIAN-CVE-2005-0758
- gzip RHEL 3 1.3.3-12.rhel3
- gzip RHEL 4 1.3.3-15.rhel4
- bzip2 RHEL 3 1.0.2-11.EL3.4
- bzip2 RHEL 4 1.0.2-13.EL4.3
- bzip2-libs RHEL 3 1.0.2-11.EL3.4
- bzip2-libs RHEL 4 1.0.2-13.EL4.3
red hat advisories RHSA-2005:357RHSA-2005:474
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2005-0758 updated
security flaw
-
Red Hat Desktop version 3 gzip 1.3.3-12.rhel3, bzip2 1.0.2-11.EL3.4, bzip2-libs 1.0.2-11.EL3.4 Red Hat Enterprise Linux AS version 3 gzip 1.3.3-12.rhel3, bzip2 1.0.2-11.EL3.4, bzip2-libs 1.0.2-11.EL3.4 Red Hat Enterprise Linux AS version 4 gzip 1.3.3-15.rhel4, bzip2 1.0.2-13.EL4.3, bzip2-libs 1.0.2-13.EL4.3 Red Hat Enterprise Linux Desktop version 4 gzip 1.3.3-15.rhel4, bzip2 1.0.2-13.EL4.3, bzip2-libs 1.0.2-13.EL4.3 Red Hat Enterprise Linux ES version 3 gzip 1.3.3-12.rhel3, bzip2 1.0.2-11.EL3.4, bzip2-libs 1.0.2-11.EL3.4 Red Hat Enterprise Linux ES version 4 gzip 1.3.3-15.rhel4, bzip2 1.0.2-13.EL4.3, bzip2-libs 1.0.2-13.EL4.3fixed: vendor fix RHSA-2005:474
+2 more productsfewer
Red Hat Enterprise Linux WS version 3 gzip 1.3.3-12.rhel3, bzip2 1.0.2-11.EL3.4, bzip2-libs 1.0.2-11.EL3.4 Red Hat Enterprise Linux WS version 4 gzip 1.3.3-15.rhel4, bzip2 1.0.2-13.EL4.3, bzip2-libs 1.0.2-13.EL4.3
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
References
-
gentoo.org
/security/en/glsa/glsa-200505-05.xml
vendor-advisory, patch, third-party-advisory
-
ubuntu.com
/usn/usn-158-1
vendor-advisory, third-party-advisory
-
fedoralegacy.org
/updates/FC2/2005-11-14-FLSA_2005_158801__Updated_bzip2_packages_fix_security_issues.html
vendor-advisory, broken-link, permissions-required
-
mandriva.com
/security/advisories?name=MDKSA-2006:027
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2005-357.html
vendor-advisory, third-party-advisory
-
lists.apple.com
/archives/security-announce//2007/Jul/msg00004.html
vendor-advisory, mailing-list, third-party-advisory
-
openpkg.com
/security/advisories/OpenPKG-SA-2007.002.html
vendor-advisory, third-party-advisory
-
slackware.com
/security/viewer.php?l=slackware-security&y=2006&m=slackware-security.555852
vendor-advisory, third-party-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2006:026
vendor-advisory, third-party-advisory
-
redhat.com
/support/errata/RHSA-2005-474.html
vendor-advisory, third-party-advisory
-
osvdb.org
/16371
vdb-entry, broken-link
-
vupen.com
/english/advisories/2007/2732
vdb-entry, third-party-advisory
-
secunia.com
/advisories/22033
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9797
vdb-entry, signature, third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1107
vdb-entry, signature, third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/20539
vdb-entry, third-party-advisory
-
docs.info.apple.com
/article.html?artnum=306172
third-party-advisory
-
securityfocus.com
/bid/25159
vdb-entry, third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1081
vdb-entry, signature, third-party-advisory
-
securityfocus.com
/bid/13582
vdb-entry, third-party-advisory
-
secunia.com
/advisories/18100
third-party-advisory
-
secunia.com
/advisories/19183
third-party-advisory
-
securitytracker.com
/id?1013928
vdb-entry, third-party-advisory
-
bugs.gentoo.org
/show_bug.cgi?id=90626
third-party-advisory
-
secunia.com
/advisories/26235
third-party-advisory
Sources
- CVE List CVE-2005-0758
- NVD CVE-2005-0758
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.