cve.bz

CVE-2005-0758

no score yetEPSS 0.5%Fix available

No CVSS score yet. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2005-0758 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2005-0758?via=ask-ai-copy and https://cve.bz/cve/CVE-2005-0758?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2005-0758 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:gzipbefore 1.3.5
canonical:ubuntu_linux4.10
canonical:ubuntu_linux5.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14bzip21.0.2-8.1DEBIAN-CVE-2005-0758
Debian12, 13, 14gzip1.3.5-10DEBIAN-CVE-2005-0758
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 morebzip2, bzip2-libs, bzip2-devel and 1 more0:1.0.2-11.EL3.4RHSA-2005:474
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 moregzip, gzip-debuginfo0:1.3.3-12.rhel3RHSA-2005:357
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morebzip2, bzip2-libs, bzip2-devel and 1 more0:1.0.2-13.EL4.3RHSA-2005:474
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 moregzip, gzip-debuginfo0:1.3.3-15.rhel4RHSA-2005:357

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Low.

Red Hat's statement

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

ProductPackageStateAdvisory
Red Hat Enterprise Linux 3gzip-0:1.3.3-12.rhel3Fixed 2005-06-13RHSA-2005:357
Red Hat Enterprise Linux 3bzip2-0:1.0.2-11.EL3.4Fixed 2005-06-16RHSA-2005:474
Red Hat Enterprise Linux 4gzip-0:1.3.3-15.rhel4Fixed 2005-06-13RHSA-2005:357
Red Hat Enterprise Linux 4bzip2-0:1.0.2-13.EL4.3Fixed 2005-06-16RHSA-2005:474

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2005-0758.

References

Check your stackJSON