Back to overview

CVE-2026-41992

MEDIUM
6.9
CVSS 4.0
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 the commit 63dbf6b3b9e6e781df1a6a64e609b10e23969681

Metadata

CVE ID
CVE-2026-41992
State
PUBLISHED
Assigner
CERT-PL
Reserved
2026-04-23 08:06 UTC
Published
2026-06-29 10:15 UTC
Last updated
2026-06-29 13:30 UTC
Primary CWE
CWE-126
CWE-126: Buffer Over-read
Vendor / Product
GNU / gzip
Sources
cve.org  ·  NVD

Severity & Metrics

6.9 MEDIUM CVSS 4.0
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
SSVC — CISA Coordinator
Exploitation
none
Automatable
no
Tech. Impact
partial
Affected products (1)
VendorProductPlatformVersions
GNU gzip 0 ≤ 1.14
Weakness (CWE)
CWESourceDescription
CWE-126 cna CWE-126: Buffer Over-read
CVSS scores (1)
ScoreSeverityVersionSourceVector
6.9 MEDIUM 4.0 cna 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
Back to overview