CVE-2026-41991: GNU Gzip Contains a Vulnerability
Affects gzipSource GCVE Database
Not known to be exploited · CVSS 2.0 Low · fixed in 1.6-3ubuntu1+esm2 : update gzip when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 1% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.6-3ubuntu1+esm2, 1.6-4ubuntu1+esm2, 1.6-5ubuntu1.2+esm1 +4
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSgzippkg:deb/ubuntu/gzip?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10gzippkg:deb/ubuntu/gzip?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSgzippkg:deb/ubuntu/gzip?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSgzippkg:deb/ubuntu/gzip?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSgzippkg:deb/ubuntu/gzip?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSgzippkg:deb/ubuntu/gzip?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
GNU gzip contains a vulnerability in the gzexe utility related to insecure temporary file handling. When the mktemp utility is not available in the user’s PATH, gzexe falls back to constructing a temporary file path based solely on the process ID (PID). This predictable filename is created without exclusive access or existence checks. A local attacker can pre‑create the predicted temporary file path as a symbolic link pointing to an arbitrary file writable by the victim. When gzexe runs, it follows the symlink and overwrites the target file, resulting in a time‑of‑check to time‑of‑use (TOCTOU) condition that allows arbitrary file overwrite. This issue has been fixed in the commit 4e6f8b24ab823146ab8776f0b7fe486ab34d4269
References
- ubuntu.com/security/CVE-2026-41991 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-41991 (opens in a new tab)
- cert.pl/en/posts/2026/04/CVE-2026-41991/ (opens in a new tab)
- gnu.org/software/gzip/ (opens in a new tab)
- ubuntu.com/security/notices/USN-8512-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8733-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8733-2 (opens in a new tab)