CVE-2026-41992
published 2026-06-29CVE-2026-41992: GNU gzip contains a global buffer overflow vulnerability in the LZH decompression logic caused by improper reuse of shared global state between different…
PriorityP348high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
0.62%
49.4th percentile
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 commits 63dbf6b3b9e6e781df1a6a64e609b10e23969681 and e7378c2d421be6a286922374425680bbe9ad8b7d.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| gnu | gzip | <= 1.14 | — |
| ubuntu | gzip | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv4.06.9MEDIUMCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vendor_redhat7.5HIGH
vendor_ubuntu4.7MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Gzip vulnerabilities
vendor_ubuntu·2026-09-22·CVSS 4.7
CVE-2026-41991 [MEDIUM] Gzip vulnerabilities
Title: Gzip vulnerabilities
Summary: Several security issues were fixed in Gzip.
USN-8733-1 fixed vulnerabilities in Gzip. This update provides the
corresponding fix for Gzip on Ubuntu 14.04 LTS, Ubuntu 18.04 LTS and Ubuntu
20.04 LTS.
Original advisory details:
Michał Majchrowicz and Marcin Wyczechowski discovered that Gzip's gzexe
utility created temporary files in an insecure manner when mktemp was
unavailable. A local attacker could possibly use this issue to overwrite
arbitrary files. (CVE-2026-41991)
Elias Hasas, Michał Majchrowicz and Marcin Wyczechowski 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)
Instruction
Ubuntu
Gzip vulnerabilities
vendor_ubuntu·2026-09-07·CVSS 4.7
CVE-2026-41992 [MEDIUM] Gzip vulnerabilities
Title: Gzip vulnerabilities
Summary: Several security issues were fixed in Gzip.
Michał Majchrowicz and Marcin Wyczechowski discovered that Gzip's gzexe
utility created temporary files in an insecure manner when mktemp was
unavailable. A local attacker could possibly use this issue to overwrite
arbitrary files. (CVE-2026-41991)
Elias Hasas, Michał Majchrowicz and Marcin Wyczechowski 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)
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
Gzip vulnerabilities
vendor_ubuntu·2026-07-06·CVSS 4.7
CVE-2026-41992 [MEDIUM] Gzip vulnerabilities
Title: Gzip vulnerabilities
Summary: Several security issues were fixed in Gzip.
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)
Instructions: In general, a standard system update will make all the necessary
changes.
Red Hat
gzip: gzip: Information disclosure via global buffer overflow in LZH decompression
vendor_redhat·2026-06-29·CVSS 7.5
CVE-2026-41992 [HIGH] CWE-125 gzip: gzip: Information disclosure via global buffer overflow in LZH decompression
gzip: gzip: Information disclosure via global buffer overflow in LZH decompression
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
VulDB
GNU gzip up to 1.14 LZH Decoder buffer over-read (EUVD-2026-40069 / Nessus ID 325426)
vuldb·2026-07-08·CVSS 7.5
CVE-2026-41992 [HIGH] GNU gzip up to 1.14 LZH Decoder buffer over-read (EUVD-2026-40069 / Nessus ID 325426)
A vulnerability marked as problematic has been reported in GNU gzip up to 1.14. This issue affects some unknown processing of the component LZH Decoder. The manipulation leads to buffer over-read.
This vulnerability is traded as CVE-2026-41992. It is possible to initiate the attack remotely. There is no exploit available.
It is suggested to install a patch to address this issue.
GHSA
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 executio
ghsa_unreviewed·2026-06-29
CVE-2026-41992 [MEDIUM] CWE-126 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 executio
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 63dbf6b3b9e6e781d
No detection rules found.
No public exploits indexed.
https://cert.pl/en/posts/2026/04/CVE-2026-41991/https://cgit.git.savannah.gnu.org/cgit/gzip.git/commit/?id=63dbf6b3b9e6e781df1a6a64e609b10e23969681https://cgit.git.savannah.gnu.org/cgit/gzip.git/commit/?id=e7378c2d421be6a286922374425680bbe9ad8b7dhttps://www.gnu.org/software/gzip/http://www.openwall.com/lists/oss-security/2026/08/23/1http://www.openwall.com/lists/oss-security/2026/08/25/1http://www.openwall.com/lists/oss-security/2026/08/27/2
2026-06-29
Published