CVE-2026-41991: gnu gzip Insecure Temporary File
Vulnerability summary
CVE-2026-41991 is a medium (CVSS 4.7) Insecure Temporary File vulnerability in gnu gzip. EPSS estimates a 0.12% chance of exploitation in the next 30 days, higher than 1.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 8 · Related 3Timeline
- 29-06-2026PublishedVulnerability first disclosed.
- 29-06-2026Last modifiedVulnerability information updated.
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
CVSS metrics
7 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated2.0LowCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- NVDNIST2.0LowCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · Red hatEcosystem advisory · calculated6.0MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.12%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
-0.07 pp
From 0.19% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse21 products
- gzip&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 1.10-150200.13.1
- gzip&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 1.10-150200.13.1
- gzip&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 1.10-150200.13.1
- gzip&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS< 1.10-150200.13.1
- gzip&distro=SUSE Linux Enterprise Micro 5.3< 1.10-150200.13.1
Opensuse2 products
- gzip&distro=openSUSE Leap 16.0< 1.13-160000.3.1
- gzip&distro=openSUSE Tumbleweed< 1.14-2.1
Debian1 product
- gzipAll versions (No fix recorded) | < 1.13-1+deb13u1 | < 1.14-1
Gnu1 product
- gzip≤ 1.14
Redhat1 product
- gzip< 0:1.14-2.2.hum1
Ubuntu1 product
- gzip< 1.6-3ubuntu1+esm2 | < 1.6-4ubuntu1+esm2 | < 1.6-5ubuntu1.2+esm1 | < 1.10-0ubuntu4.1+esm1 | < 1.10-4ubuntu4.2 | < 1.12-1ubuntu3.2 | All versions (No fix recorded) | < 1.14-1~exp2ubuntu1.1
6 vendors · 27 products
References
25 linksShow all 25 references
- images.redhat.comARTICLE