Skip to content
Fencer Vulns
medium 4.6

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.3
    +2 more products
    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
    fixed: vendor fix RHSA-2005:474

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

Sources

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.