Vulnerability record · OpenEuler 20.03-LTS-SP4
An update for gzip is now available for openEuler-20.03-LTS-SP4
OpenEuler 20.03-LTS-SP4
What it fixes
Synopsis:
gzip security updateSummary:
An update for gzip is now available for openEuler-20.03-LTS-SP4Description:
gzip is a single-file/stream lossless data compression utility, where the resulting compressed file generally has the suffix .gz.
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 predictable filename is created without exclusive access or existence checks. A local attacker can pre‑create the predicted temporary file path as a symbolic link pointing to an arbitrary file writable by the victim. When gzexe runs, it follows the symlink and overwrites the target file, resulting in a time‑of‑check to time‑of‑use (TOCTOU) condition that allows arbitrary file overwrite.
This issue has been fixed in the commit 4e6f8b24ab823146ab8776f0b7fe486ab34d4269(CVE-2026-41991)
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 the LZ77, LZW, and LZH decompression routines and is not reinitialized between files processed in the same invocation. By decompressing a specially crafted LZW file followed by a specially crafted LZH file in a single gzip -d command, an attacker can poison the shared global state and subsequently trigger an out‑of‑bounds read in the LZH decoder. The LZH decompression logic follows stale values left in the shared array, causing reads past the end of the allocated global buffer.
This issue has been fixed in the commit 63dbf6b3b9e6e781df1a6a64e609b10e23969681(CVE-2026-41992)Topic:
An update for gzip is now available for openEuler-20.03-LTS-SP4.
openEuler Security has rated this update as having a security impact of high. A…
Manual fix · OpenEuler 20.03-LTS-SP4
sudo dnf upgrade gzip gzip-helprpm -q gzip gzip-helpSources