Skip to main content
VulnerabilityPublished Updated

CVE-2026-41991: GNU Gzip Contains a Vulnerability

Affects gzipSource GCVE Database

0
Compare
Authoritative record:CVE-2026-41991· Low 2.0

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

CVSS 4.0 base score
2.0Low
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSgzippkg:deb/ubuntu/gzip?arch=source&distro=resoluteOther threatsAffected
  • <1.14-1~exp2ubuntu1.1
Fixed in
  • 1.14-1~exp2ubuntu1.1
Ubuntu 25.10gzippkg:deb/ubuntu/gzip?arch=source&distro=questingOther threatsAffected
  • =1.13-1ubuntu3
  • =1.13-1ubuntu4
Fixed in–
Ubuntu 24.04 LTSgzippkg:deb/ubuntu/gzip?arch=source&distro=nobleOther threatsAffected
  • <1.12-1ubuntu3.2
Fixed in
  • 1.12-1ubuntu3.2
Ubuntu 22.04 LTSgzippkg:deb/ubuntu/gzip?arch=source&distro=jammyOther threatsAffected
  • <1.10-4ubuntu4.2
Fixed in
  • 1.10-4ubuntu4.2
Ubuntu Pro 20.04 LTSgzippkg:deb/ubuntu/gzip?arch=source&distro=esm-infra/focalOther threatsAffected
  • <1.10-0ubuntu4.1+esm1
Fixed in
  • 1.10-0ubuntu4.1+esm1
Ubuntu Pro 18.04 LTSgzippkg:deb/ubuntu/gzip?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <1.6-5ubuntu1.2+esm1
Fixed in
  • 1.6-5ubuntu1.2+esm1

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

Community reviews

Loading reviews…