CVE catalog

CVE-2005-0758

gzip: CVE-2005-0758

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.53% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangzipsid1.14-1fixed
Debiangzipforky1.14-1fixed
Debiangziptrixie1.13-1+deb13u1fixed
Debiangzipbookworm1.12-1fixed
Debianbzip2sid1.0.8-6fixed
Debianbzip2forky1.0.8-6fixed
Debianbzip2trixie1.0.8-6fixed
Debianbzip2bookworm1.0.8-5fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangzipsourcesid1.3.5-10lowNot reportedNot reported
Debiangzipsourceforky1.3.5-10lowNot reportedNot reported
Debiangzipsourcetrixie1.3.5-10lowNot reportedNot reported
Debiangzipsourcebookworm1.3.5-10lowNot reportedNot reported
Debianbzip2sourcesid1.0.2-8.1lowNot reported[321286]
Debianbzip2sourceforky1.0.2-8.1lowNot reported[321286]
Debianbzip2sourcetrixie1.0.2-8.1lowNot reported[321286]
Debianbzip2sourcebookworm1.0.2-8.1lowNot reported[321286]

[Debian bug #321286]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [bzip2]Fixed

    Source package: [bzip2]

    Details (2)
    • 1.0.8-5+b1 · amd64 · bookworm

      Fixed · Fixed: 1.0.2-8.1

      dsa · bzip2 · debian · bookworm; dsa · bzip2 · debian · 12

    • 1.0.8-5+b1 · arm64 · bookworm

      Fixed · Fixed: 1.0.2-8.1

      dsa · bzip2 · debian · bookworm; dsa · bzip2 · debian · 12

  • [bzip2-doc]Fixed

    Source package: [bzip2]

    Details (2)
    • 1.0.8-5 · all · bookworm

      Fixed · Fixed: 1.0.2-8.1

      dsa · bzip2 · debian · bookworm; dsa · bzip2 · debian · 12

    • 1.0.8-5 · all · bookworm

      Fixed · Fixed: 1.0.2-8.1

      dsa · bzip2 · debian · bookworm; dsa · bzip2 · debian · 12

  • [gzip]Fixed
    Details (2)
    • 1.12-1 · amd64 · bookworm

      Fixed · Fixed: 1.3.5-10

      dsa · gzip · debian · bookworm; dsa · gzip · debian · 12

    • 1.12-1 · arm64 · bookworm

      Fixed · Fixed: 1.3.5-10

      dsa · gzip · debian · bookworm; dsa · gzip · debian · 12

  • [gzip-win32]Fixed

    Source package: [gzip]

    Details (2)
    • 1.12-1 · all · bookworm

      Fixed · Fixed: 1.3.5-10

      dsa · gzip · debian · bookworm; dsa · gzip · debian · 12

    • 1.12-1 · all · bookworm

      Fixed · Fixed: 1.3.5-10

      dsa · gzip · debian · bookworm; dsa · gzip · debian · 12

  • [libbz2-1.0]Fixed

    Source package: [bzip2]

    Details (2)
    • 1.0.8-5+b1 · amd64 · bookworm

      Fixed · Fixed: 1.0.2-8.1

      dsa · bzip2 · debian · bookworm; dsa · bzip2 · debian · 12

    • 1.0.8-5+b1 · arm64 · bookworm

      Fixed · Fixed: 1.0.2-8.1

      dsa · bzip2 · debian · bookworm; dsa · bzip2 · debian · 12

  • [libbz2-dev]Fixed

    Source package: [bzip2]

    Details (2)
    • 1.0.8-5+b1 · amd64 · bookworm

      Fixed · Fixed: 1.0.2-8.1

      dsa · bzip2 · debian · bookworm; dsa · bzip2 · debian · 12

    • 1.0.8-5+b1 · arm64 · bookworm

      Fixed · Fixed: 1.0.2-8.1

      dsa · bzip2 · debian · bookworm; dsa · bzip2 · debian · 12

[Debian 13 (Trixie)]

  • [bzip2]Fixed
    Details (2)
    • 1.0.8-6 · amd64 · trixie

      Fixed · Fixed: 1.0.2-8.1

      dsa · bzip2 · debian · 13

    • 1.0.8-6 · arm64 · trixie

      Fixed · Fixed: 1.0.2-8.1

      dsa · bzip2 · debian · 13

  • [bzip2-doc]Fixed

    Source package: [bzip2]

    Details (2)
    • 1.0.8-6 · all · trixie

      Fixed · Fixed: 1.0.2-8.1

      dsa · bzip2 · debian · 13

    • 1.0.8-6 · all · trixie

      Fixed · Fixed: 1.0.2-8.1

      dsa · bzip2 · debian · 13

  • [gzip]Fixed
    Details (2)
    • 1.13-1 · amd64 · trixie

      Fixed · Fixed: 1.3.5-10

      dsa · gzip · debian · 13

    • 1.13-1 · arm64 · trixie

      Fixed · Fixed: 1.3.5-10

      dsa · gzip · debian · 13

  • [libbz2-1.0]Fixed

    Source package: [bzip2]

    Details (2)
    • 1.0.8-6 · amd64 · trixie

      Fixed · Fixed: 1.0.2-8.1

      dsa · bzip2 · debian · 13

    • 1.0.8-6 · arm64 · trixie

      Fixed · Fixed: 1.0.2-8.1

      dsa · bzip2 · debian · 13

  • [libbz2-dev]Fixed

    Source package: [bzip2]

    Details (2)
    • 1.0.8-6 · amd64 · trixie

      Fixed · Fixed: 1.0.2-8.1

      dsa · bzip2 · debian · 13

    • 1.0.8-6 · arm64 · trixie

      Fixed · Fixed: 1.0.2-8.1

      dsa · bzip2 · debian · 13

Observed:

References