← Vulnerability feed

Vulnerability record · CVE-2005-0758 · published 13 May 2005

CVE-2005-0758: Gnu gzip vulnerability

Gnu · Gzip

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.

4.6 CVSS 2.0 Medium EPSS 0.53% · top 54.7%
4.6CVSS 2.0 base score
0.53%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
54References
16 Jun 2026Last modified by NVD

Description

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.

AV:L/AC:L/Au:N/C:P/I:P/A:P

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
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 ListThird 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 AdvisoryVDB 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 LinkPermissions Required
http://www.gentoo.org/security/en/glsa/glsa-200505-05.xml PatchThird 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 AdvisoryVDB Entry
http://www.securityfocus.com/bid/25159 Third Party AdvisoryVDB 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 AdvisoryVDB 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
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 ListThird 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 AdvisoryVDB 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 LinkPermissions Required

Track CVE-2005-0758 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-11651SaltStack Salt master authentication bypass in ClearFuncsSaltStack Salt before 2019.2.4 and 3000 before 3000.2 fails to properly validate method calls in the salt-master ClearFuncs class, allowing remote un…KEVEPSS 97%analysed9.8CVE-2020-7247OpenSMTPD MAIL FROM command injection allows remote root code executionOpenSMTPD 6.6, as shipped in OpenBSD 6.6 and other products, mishandles input validation in smtp_mailaddr in smtp_session.c, returning an incorrect v…KEVEPSS 99%analysed9.8CVE-2019-11043PHP-FPM buffer overflow enables remote code executionPHP-FPM in certain configurations writes past allocated buffers into FCGI protocol data space, an out-of-bounds write (CWE-787, CWE-120). It affects …KEVEPSS 100%analysed9.8CVE-2019-16928Exim heap buffer overflow in string_vformat via long EHLO commandExim 4.92 through 4.92.2 contains a heap-based buffer overflow in string_vformat in string.c triggered by a long EHLO command, allowing remote code e…KEVEPSS 42%analysed9.8CVE-2019-10149Exim MTA improper recipient validation leads to remote command executionExim versions 4.87 through 4.91 fail to properly validate recipient addresses in the deliver_message() function in /src/deliver.c, allowing command i…KEVEPSS 100%analysed9.8CVE-2018-6789Exim SMTP base64d buffer overflow allows remote code executionExim before 4.90.1 contains a buffer overflow in the base64d function of its SMTP listener. A handcrafted message can trigger the overflow, and the f…KEVEPSS 82%analysed9.8CVE-2016-8735Apache Tomcat JmxRemoteLifecycleListener remote code executionApache Tomcat's JmxRemoteLifecycleListener was not updated to match the Oracle CVE-2016-3427 credential-type fix, leaving a deserialization weakness …KEVEPSS 90%analysed9.8CVE-2016-3427Oracle Java SE JMX Improper Access Control VulnerabilityCVE-2016-3427 is an unspecified vulnerability in Oracle Java SE 6u113, 7u99, 8u77, Java SE Embedded 8u77, and JRockit R28.3.9, reached through vector…KEVEPSS 92%analysed

Source: NIST National Vulnerability Database (record CVE-2005-0758), CISA KEV, FIRST EPSS (scores of 2026-11-14). This page is refreshed as NVD updates the record.