Skip to content
OpenAdvisories
Medium USN-8512-1 2 CVEs

gzip vulnerabilities

Published Jul 6, 2026 · Updated Jul 6, 2026

Summary

It was discovered that Gzip's gzexe utility handled temporary files in an
insecure manner. When the mktemp utility was not available, gzexe
constructed a temporary file path based on the process ID, which could be
predicted. A local attacker could possibly use this issue to overwrite
arbitrary files via a symlink attack. (CVE-2026-41991)

It was discovered that Gzip incorrectly handled certain compressed files.
An attacker could possibly use this issue to obtain sensitive information
or cause Gzip to crash, resulting in a denial of service. (CVE-2026-41992)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS gzip 1.10-4ubuntu4.2
Ubuntu · 24.04 LTS 24.04:LTS gzip 1.12-1ubuntu3.2
Ubuntu · 26.04 LTS 26.04:LTS gzip 1.14-1~exp2ubuntu1.1

Vulnerabilities 2

  • Medium 6.9

    Global Buffer Overflow in GNU gzip

    GNU gzip contains a global buffer overflow vulnerability in the LZH decompression logic caused by improper reuse of shared global state between different decompression formats within a single execution. GNU gzip maintains a global array that is shared across …

  • Low 2.0

    Predictable Temporary File in GNU gzip

    GNU gzip contains a vulnerability in the gzexe utility related to insecure temporary file handling. When the mktemp utility is not available in the user’s PATH, gzexe falls back to constructing a temporary file path based solely on the process ID (PID). This …

References

  • report
    https://ubuntu.com/security/CVE-2026-41991
  • report
    https://ubuntu.com/security/CVE-2026-41992