CVE-2026-41992 Details
Description
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.
A global buffer overflow vulnerability has been identified in GNU Gzip, specifically within the LZH decompression logic. This issue arises from the improper reuse of shared global state among different decompression formats during a single execution. Gzip maintains a global array that is used across the LZ77, LZW, and LZH decompression routines, which is not reinitialized between files processed in the same session. By decompressing a specially crafted LZW file followed by a crafted LZH file in a single 'gzip -d' command, an attacker can manipulate the shared global state, leading to an out-of-bounds read in the LZH decoder. The LZH logic then follows outdated values in the shared array, causing reads beyond the allocated global buffer.
Users can update to the latest version of GNU Gzip, where this vulnerability has been fixed. The patched version is available on the main GNU download server and its mirrors.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-126 | Buffer Over-read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gnu gzip | <= 1.14 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 27, 2026 | CVE Modified | [email protected] |
| Aug 27, 2026 | CVE Modified | [email protected] |
| Aug 27, 2026 | CVE Modified | CVE |
| Aug 25, 2026 | CVE Modified | CVE |
| Aug 23, 2026 | CVE Modified | CVE |
| Jul 1, 2026 | Initial Analysis | [email protected] |
| Jun 29, 2026 | CVE Modified | CISA-ADP |
| Jun 29, 2026 | New CVE Received | [email protected] |