CVE-2026-41991Gnu Gzip
Low 2.0
Follow: this CVE · Gnu · Gnu Gzip We alert you by email or Slack (account required).
- Priority
- 12
- CVSS 4.0
- 2.0
- EPSS
- —
- Auth required
- Yes
- Published
- Jun 29, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-377
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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/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
What happens
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
What to do
- Apply the vendor's security update for Gzip.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gnu | gzip | ≤ 1.14 |
Official advisories
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:79717 · Oct 10, 2026 Medium
- Red Hat Security Advisory: gzip security update · Red Hat · RHSA-2026:65998 · Sep 10, 2026 Medium
- Red Hat Security Advisory: gzip security update · Red Hat · RHSA-2026:61625 · Sep 1, 2026 Medium
- Security update for gzip · SUSE · SUSE-SU-2026:3269-1 · Jul 27, 2026 Low
- Security update for gzip · SUSE · SUSE-SU-2026:3241-1 · Jul 24, 2026 Low
- Security update for gzip · SUSE · SUSE-SU-2026:22906-1 · Jul 24, 2026 Low
Also: Red Hat (+2), SUSE (+5)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- cert.pl Broken Link
- cgit.git.savannah.gnu.org Patch
- www.gnu.org Product