zgrep in gzip before 1.3.5 does not properly sanitize arguments, which allows local users…
Priority LOW 22Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
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.
Why it matters now
EPSS 0.00529 45th percentileScored 2026-11-07
Fix Fixed Red Hat: 2 advisories
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 2 advisories
- RHSA-2005:474 Released 2005-06-16 · Red Hat rating Lowbzip2 security update
- Red Hat Desktop version 3 bzip2-1.0.2-11.EL3.4, bzip2-1.0.2-11.EL3.4.i386, bzip2-devel-1.0.2-11.EL3.4 +3
- Red Hat Enterprise Linux AS version 3 bzip2-1.0.2-11.EL3.4, bzip2-1.0.2-11.EL3.4.i386, bzip2-1.0.2-11.EL3.4.ia64 +9
- Red Hat Enterprise Linux AS version 4 bzip2-1.0.2-13.EL4.3, bzip2-1.0.2-13.EL4.3.i386, bzip2-1.0.2-13.EL4.3.ia64 +9
- Red Hat Enterprise Linux Desktop version 4 bzip2-1.0.2-13.EL4.3, bzip2-1.0.2-13.EL4.3.i386, bzip2-devel-1.0.2-13.EL4.3 +3
- Red Hat Enterprise Linux ES version 3 bzip2-1.0.2-11.EL3.4, bzip2-1.0.2-11.EL3.4.i386, bzip2-1.0.2-11.EL3.4.ia64 +6
- Red Hat Enterprise Linux ES version 4 bzip2-1.0.2-13.EL4.3, bzip2-1.0.2-13.EL4.3.i386, bzip2-1.0.2-13.EL4.3.ia64 +6
- Red Hat Enterprise Linux WS version 3 bzip2-1.0.2-11.EL3.4, bzip2-1.0.2-11.EL3.4.i386, bzip2-1.0.2-11.EL3.4.ia64 +6
- Red Hat Enterprise Linux WS version 4 bzip2-1.0.2-13.EL4.3, bzip2-1.0.2-13.EL4.3.i386, bzip2-1.0.2-13.EL4.3.ia64 +6
- RHSA-2005:357 Released 2005-06-13 · Red Hat rating Lowgzip security update
- Red Hat Desktop version 3 gzip-1.3.3-12.rhel3, gzip-1.3.3-12.rhel3.i386
- Red Hat Enterprise Linux AS version 3 gzip-1.3.3-12.rhel3, gzip-1.3.3-12.rhel3.i386, gzip-1.3.3-12.rhel3.ia64 +1
- Red Hat Enterprise Linux AS version 4 gzip-1.3.3-15.rhel4, gzip-1.3.3-15.rhel4.i386, gzip-1.3.3-15.rhel4.ia64 +1
- Red Hat Enterprise Linux Desktop version 4 gzip-1.3.3-15.rhel4, gzip-1.3.3-15.rhel4.i386
- Red Hat Enterprise Linux ES version 3 gzip-1.3.3-12.rhel3, gzip-1.3.3-12.rhel3.i386, gzip-1.3.3-12.rhel3.ia64
- Red Hat Enterprise Linux ES version 4 gzip-1.3.3-15.rhel4, gzip-1.3.3-15.rhel4.i386, gzip-1.3.3-15.rhel4.ia64
- Red Hat Enterprise Linux WS version 3 gzip-1.3.3-12.rhel3, gzip-1.3.3-12.rhel3.i386, gzip-1.3.3-12.rhel3.ia64
- Red Hat Enterprise Linux WS version 4 gzip-1.3.3-15.rhel4, gzip-1.3.3-15.rhel4.i386, gzip-1.3.3-15.rhel4.ia64
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2005:357, RHSA-2005:474 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2005:357, RHSA-2005:474 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2005:357, RHSA-2005:474 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2005:357, RHSA-2005:474 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2005:357, RHSA-2005:474 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2005:357, RHSA-2005:474 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2005:357, RHSA-2005:474 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2005:357, RHSA-2005:474 |
Timeline
- 2026-10-02 Threatist record created from CVE-2005-0758
- 2026-10-03 Alias added: GHSA-gc4q-mf7x-jrrp
References
Patch 1
Advisory 15
- USN-158-1
- FLSA:158801
- ADV-2007-2732
- MDKSA-2006:027
- RHSA-2005:357
- APPLE-SA-2007-07-31
- OpenPKG-SA-2007.002
- oval:org.mitre.oval:def:9797
- oval:org.mitre.oval:def:1107
- http://docs.info.apple.com/article.html?artnum=306172
- oval:org.mitre.oval:def:1081
- SSA:2006-262
- MDKSA-2006:026
- RHSA-2005:474
- http://bugs.gentoo.org/show_bug.cgi?id=90626
Other 1
Sources
- CVE-2005-0758 · CVE Program
- CVE-2005-0758 · NVD
- FIRST EPSS
- GHSA-gc4q-mf7x-jrrp · GitHub Advisory Database · CC BY 4.0
- CVE-2005-0758 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences