CVE-2026-41992

EUVD-2026-40069
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 44.67%
Affected Products (NVD)
VendorProductVersion
gnugzip
𝑥
≤ 1.14
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
gzip
bookworm
postponed
bullseye
postponed
forky
1.14-1
fixed
sid
1.14-1
fixed
trixie
1.13-1+deb13u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
gzip
bionic
Fixed 1.6-5ubuntu1.2+esm1
released
focal
Fixed 1.10-0ubuntu4.1+esm1
released
jammy
Fixed 1.10-4ubuntu4.2
released
noble
Fixed 1.12-1ubuntu3.2
released
questing
ignored
resolute
Fixed 1.14-1~exp2ubuntu1.1
released
trusty
Fixed 1.6-3ubuntu1+esm2
released
xenial
Fixed 1.6-4ubuntu1+esm2
released
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
gzip
RHEL 9
0:1.12-2.el9_8
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
gzip
Azure Linux 3.0
0:1.13-2.azl3
fixed