# CVE-2026-41991: Predictable Temporary File in GNU gzip

- Priority: **Routine**
- Reason: Not severe (CVSS 2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-29 · Modified: 2026-06-29
- Aliases: SUSE-SU-2026:22753-1, SUSE-SU-2026:22818-1, SUSE-SU-2026:22906-1, SUSE-SU-2026:22918-1, SUSE-SU-2026:3241-1, SUSE-SU-2026:3269-1, RHSA-2026:33771, UBUNTU-CVE-2026-41991, DEBIAN-CVE-2026-41991, openSUSE-SU-2026:11174-1, openSUSE-SU-2026:21371-1, ALPINE-CVE-2026-41991
- Record: https://cvemate.com/vulnerability/CVE-2026-41991 · JSON: https://cvemate.com/vulnerability/CVE-2026-41991/json

## Description

```text
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
```

## Signals

- CVSS: 4.7 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.117%, percentile 1.813%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 28)

- alpine gzip (Alpine Linux): \< 1.15-r0
- debian gzip (Debian): All versions (No fix recorded) \| \< 1.13-1+deb13u1 \| \< 1.14-1
- ubuntu gzip (Ubuntu): \< 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
- gnu gzip: ≤ 1.14
- opensuse gzip&distro=openSUSE Leap 16.0 (openSUSE): \< 1.13-160000.3.1
- opensuse gzip&distro=openSUSE Tumbleweed (openSUSE): \< 1.14-2.1
- redhat gzip (Red Hat): \< 0:1.14-2.2.hum1
- suse gzip&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS (SUSE Linux Enterprise): \< 1.10-150200.13.1
- suse gzip&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS (SUSE Linux Enterprise): \< 1.10-150200.13.1
- suse gzip&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS (SUSE Linux Enterprise): \< 1.10-150200.13.1
- suse gzip&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS (SUSE Linux Enterprise): \< 1.10-150200.13.1
- suse gzip&distro=SUSE Linux Enterprise Micro 5.3 (SUSE Linux Enterprise): \< 1.10-150200.13.1
- suse gzip&distro=SUSE Linux Enterprise Micro 5.4 (SUSE Linux Enterprise): \< 1.10-150200.13.1
- suse gzip&distro=SUSE Linux Enterprise Micro 5.5 (SUSE Linux Enterprise): \< 1.10-150200.13.1
- suse gzip&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7 (SUSE Linux Enterprise): \< 1.10-150200.13.1
- suse gzip&distro=SUSE Linux Enterprise Server 12 SP5-LTSS (SUSE Linux Enterprise): \< 1.10-4.17.1
- suse gzip&distro=SUSE Linux Enterprise Server 15 SP4-LTSS (SUSE Linux Enterprise): \< 1.10-150200.13.1
- suse gzip&distro=SUSE Linux Enterprise Server 15 SP5-LTSS (SUSE Linux Enterprise): \< 1.10-150200.13.1
- suse gzip&distro=SUSE Linux Enterprise Server 15 SP6-LTSS (SUSE Linux Enterprise): \< 1.10-150200.13.1
- suse gzip&distro=SUSE Linux Enterprise Server 16.0 (SUSE Linux Enterprise): \< 1.13-160000.3.1

## References (first 20 of 26)

- <https://cert.pl/en/posts/2026/04/CVE-2026-41991/>
- <https://www.gnu.org/software/gzip/>
- <https://cgit.git.savannah.gnu.org/cgit/gzip.git/commit/?id=4e6f8b24ab823146ab8776f0b7fe486ab34d4269>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202622753-1/>
- <https://bugzilla.suse.com/1269622>
- <https://www.suse.com/security/cve/CVE-2026-41991>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202622818-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202622906-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202622918-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20263241-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20263269-1/>
- <https://access.redhat.com/errata/RHSA-2026:33771>
- <https://access.redhat.com/security/cve/CVE-2026-41911>
- <https://access.redhat.com/security/cve/CVE-2026-41991>
- <https://access.redhat.com/security/updates/classification/>
- <https://images.redhat.com/>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_33771.json>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2494158>
- <https://www.cve.org/CVERecord?id=CVE-2026-41991>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41991>

---

Data as of 2026-12-05T06:37:36.279Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
