# CVE-2026-41992: Global Buffer Overflow in GNU gzip

- Severity: Medium 6.9 (CVSS:4.0, scored by CERT-PL) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 41% of CVEs (2026-11-30)
- Published: 2026-06-29T10:15:57.278Z
- Modified: 2026-10-25T21:10:00.770Z
- Weaknesses: CWE-126
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CERT-PL

## 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.

(As written by CVE List.)

## Affected

- GNU gzip: up to 1.14

## Every score

- CERT-PL: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://cert.pl/en/posts/2026/04/CVE-2026-41991/> (broken-link, third-party-advisory)
- <https://www.gnu.org/software/gzip/> (product)
- <https://cgit.git.savannah.gnu.org/cgit/gzip.git/commit/?id=63dbf6b3b9e6e781df1a6a64e609b10e23969681> (patch)
- <https://cgit.git.savannah.gnu.org/cgit/gzip.git/commit/?id=e7378c2d421be6a286922374425680bbe9ad8b7d> (patch)
- <http://www.openwall.com/lists/oss-security/2026/08/23/1>
- <http://www.openwall.com/lists/oss-security/2026/08/25/1>
- <http://www.openwall.com/lists/oss-security/2026/08/27/2>

## Sources

- CVE List: [CVE-2026-41992](https://www.cve.org/CVERecord?id=CVE-2026-41992), CVE Terms of Use, modified 2026-08-27
- NVD: [CVE-2026-41992](https://nvd.nist.gov/vuln/detail/CVE-2026-41992), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-41992 · Whole record: https://cve.day/CVE-2026-41992.json · Rebuilt by cve.day 2026-11-25T22:59:26.604Z
