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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade gzip | Oct 11, 2026 | Aug 31, 2026 |
| Alpine Linux | — | Upgrade gzip | Aug 31, 2026 | Jun 29, 2026 |
| Debian | — | Upgrade gzip | Sep 21, 2026 | Jun 29, 2026 |
| Ibm Aix | — | Apply the fix or workaround for rpm_advisory5 | Oct 15, 2026 | Oct 12, 2026 |
| Redhat_linux | — | Upgrade gzipUpgrade gzip-debuginfoNo solution existsUpgrade gzip-debugsource | Sep 2, 2026 | Jun 29, 2026 |
| Rocky_linux | — | Upgrade gzip-debugsourceUpgrade gzip-debuginfoUpgrade gzip | Sep 2, 2026 | Sep 1, 2026 |
| Ubuntu | — | Upgrade gzipUpgrade gzip (Ubuntu Pro) | Jul 6, 2026 | Jun 29, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Sep 2, 2026 | Jun 29, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub