CVE-2005-0758

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.

Published: 2005-05-13 Last update: 2026-04-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2005-0758 is rated Low Risk (32.9/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.53%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2005-0758

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.15% 0.53% +0.38%
2 2025-03-17 0.06% 0.15% +0.09%
3 2023-03-07 0.06%

Full EPSS history (4 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2005-0758

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.6 2.0 MEDIUM
AV:L/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:L)
Requires local access to the target system.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
3.9 6.4 [email protected]

Weakness enumeration for CVE-2005-0758

OS Trackers for CVE-2005-0758

vendor priority summary link
debian low CVE-2005-0758 low priority: Debian including 2 source packages (bzip2, gzip), 10 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 10. https://security-tracker.debian.org/tracker/CVE-2005-0758
redhat low https://access.redhat.com/security/cve/CVE-2005-0758
ubuntu medium CVE-2005-0758 medium priority: Ubuntu including 2 source packages (bzip2, gzip), 8 status rows across 4 suites (dapper, edgy, feisty, upstream): released 6, needs-triage 2. https://ubuntu.com/security/CVE-2005-0758

Vendor comments (NVD) for CVE-2005-0758

  • Red Hat (2007-03-14T00:00:00)

    Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.

Affected software / configurations for CVE-2005-0758

Vendor Product Version Raw CPE
gnu gzip < 1.3.5 cpe:2.3:a:gnu:gzip:*:*:*:*:*:*:*:*
canonical ubuntu_linux 4.10 cpe:2.3:o:canonical:ubuntu_linux:4.10:*:*:*:*:*:*:*
canonical ubuntu_linux 5.04 cpe:2.3:o:canonical:ubuntu_linux:5.04:*:*:*:*:*:*:*

References for CVE-2005-0758

URL Tags
ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.58/SCOSA-2005.58.txt Third Party Advisory
ftp://patches.sgi.com/support/free/security/advisories/20060301-01.U.asc Third Party Advisory
http://bugs.gentoo.org/show_bug.cgi?id=90626 Third Party Advisory
http://docs.info.apple.com/article.html?artnum=306172 Third Party Advisory
http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html Mailing List Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2005-357.html Third Party Advisory
http://secunia.com/advisories/18100 Third Party Advisory
http://secunia.com/advisories/19183 Third Party Advisory
http://secunia.com/advisories/22033 Third Party Advisory
http://secunia.com/advisories/26235 Third Party Advisory
http://securitytracker.com/id?1013928 Third Party Advisory VDB Entry
http://slackware.com/security/viewer.php?l=slackware-security&y=2006&m=slackware-security.555852 Third Party Advisory
http://www.fedoralegacy.org/updates/FC2/2005-11-14-FLSA_2005_158801__Updated_bzip2_packages_fix_security_issues.html Broken Link Permissions Required
http://www.gentoo.org/security/en/glsa/glsa-200505-05.xml Patch Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2006:026 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2006:027 Third Party Advisory
http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.002.html Third Party Advisory
http://www.osvdb.org/16371 Broken Link
http://www.redhat.com/support/errata/RHSA-2005-474.html Third Party Advisory
http://www.securityfocus.com/bid/13582 Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/25159 Third Party Advisory VDB Entry
http://www.ubuntu.com/usn/usn-158-1 Third Party Advisory
http://www.vupen.com/english/advisories/2007/2732 Third Party Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/20539 Third Party Advisory VDB Entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1081 Third Party Advisory
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1107 Third Party Advisory
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9797 Third Party Advisory
cvelogic Threat Intelligence