CVE-2005-0758
CVE-2005-0758 is a medium-severity vulnerability in Gnu Gzip with a CVSS 2.0 base score of 4.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.
Key facts
- Severity: Medium (CVSS 2.0 base score 4.6)
- EPSS exploit prediction: 1% (41st percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Gnu Gzip
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2005-0758?
- CVE-2005-0758 has a CVSS 2.0 base score of 4.6, rated medium severity.
- Is CVE-2005-0758 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (41st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2005-0758?
- CVE-2005-0758 primarily affects Gnu Gzip. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2005-0758?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2005-0758 published?
- CVE-2005-0758 was published on 2005-05-13 and last updated on 2026-06-16.
References
- ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.58/SCOSA-2005.58.txt
- ftp://patches.sgi.com/support/free/security/advisories/20060301-01.U.asc
- http://bugs.gentoo.org/show_bug.cgi?id=90626
- http://docs.info.apple.com/article.html?artnum=306172
- http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html
- http://rhn.redhat.com/errata/RHSA-2005-357.html
- http://secunia.com/advisories/18100
- http://secunia.com/advisories/19183
- http://secunia.com/advisories/22033
- http://secunia.com/advisories/26235
- http://securitytracker.com/id?1013928
- http://slackware.com/security/viewer.php?l=slackware-security&y=2006&m=slackware-security.555852
- http://www.fedoralegacy.org/updates/FC2/2005-11-14-FLSA_2005_158801__Updated_bzip2_packages_fix_security_issues.html
- http://www.gentoo.org/security/en/glsa/glsa-200505-05.xml
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:026
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:027
- http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.002.html
- http://www.osvdb.org/16371
- http://www.redhat.com/support/errata/RHSA-2005-474.html
- http://www.securityfocus.com/bid/13582
- http://www.securityfocus.com/bid/25159
- http://www.ubuntu.com/usn/usn-158-1
- http://www.vupen.com/english/advisories/2007/2732
- https://exchange.xforce.ibmcloud.com/vulnerabilities/20539
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1081
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1107
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9797
Affected products (3)
- cpe:2.3:a:gnu:gzip:*:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:4.10:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:5.04:*:*:*:*:*:*:*
More vulnerabilities in Gnu Gzip
- CVE-2004-0603 — Critical (CVSS 10.0): gzexe in gzip 1.3.3 and earlier will execute an argument when the creation of a temp file fails instead of exiting the…
- CVE-2022-1271 — High (CVSS 8.8): An arbitrary file write vulnerability was found in GNU gzip's zgrep utility. When zgrep is applied on the attacker's…
- CVE-2026-41992 — High (CVSS 7.5): GNU gzip contains a global buffer overflow vulnerability in the LZH decompression logic caused by improper reuse of…
- CVE-2001-1228 — High (CVSS 7.5): Buffer overflows in gzip 1.3x, 1.2.4, and other versions might allow attackers to execute code via a long file name,…
- CVE-2010-0001 — Medium (CVSS 6.8): Integer underflow in the unlzw function in unlzw.c in gzip before 1.4 on 64-bit platforms, as used in ncompress and…
- CVE-2009-2624 — Medium (CVSS 6.8): The huft_build function in inflate.c in gzip before 1.3.13 creates a hufts (aka huffman) table that is too small, which…