
CVE catalog
CVE-2026-41991
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 temp
- Severity
- High · CVSS 7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.12% · Oct 25, 2026
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
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | gzip | sid | 1.14-1 | fixed |
| Debian | gzip | forky | 1.14-1 | fixed |
| Debian | gzip | trixie | 1.13-1+deb13u1 | fixed |
| Debian | gzip | bookworm | 1.12-1 | vulnerable |
| Cpe | gzip | Not reported | 1.12-1ubuntu3.2 | fixed |
| Cpe | gzip-win32 | Not reported | 1.12-1ubuntu3.2 | fixed |
| Cpe | gzip | Not reported | Not reported | vulnerable |
| Cpe | gzip | Not reported | Not reported | unknown |
| Ubuntu | gzip | pro | 1.10-0ubuntu3 | vulnerable |
| Ubuntu | gzip | pro | 1.10-0ubuntu4 | vulnerable |
| Ubuntu | gzip | pro | 1.10-0ubuntu4.1 | vulnerable |
| Ubuntu | gzip | pro | 1.10-0ubuntu4.1+esm1 | fixed |
| Ubuntu | gzip | pro | 1.10-0ubuntu3 | vulnerable |
| Ubuntu | gzip | pro | 1.10-0ubuntu4 | vulnerable |
| Ubuntu | gzip | pro | 1.10-0ubuntu4.1 | vulnerable |
| Ubuntu | gzip | pro | 1.10-0ubuntu4.1+esm1 | fixed |
| Ubuntu | gzip | 22.04 | 1.10-4ubuntu1 | vulnerable |
| Ubuntu | gzip | 22.04 | 1.10-4ubuntu2 | vulnerable |
| Ubuntu | gzip | 22.04 | 1.10-4ubuntu3 | vulnerable |
| Ubuntu | gzip | 22.04 | 1.10-4ubuntu4 | vulnerable |
| Ubuntu | gzip | 22.04 | 1.10-4ubuntu4.1 | vulnerable |
| Ubuntu | gzip | 22.04 | 1.10-4ubuntu4.2 | fixed |
| Ubuntu | gzip | 24.04 | 1.12-1ubuntu1 | vulnerable |
| Ubuntu | gzip | 24.04 | 1.12-1ubuntu2 | vulnerable |
| Ubuntu | gzip | 24.04 | 1.12-1ubuntu3 | vulnerable |
| Ubuntu | gzip | 24.04 | 1.12-1ubuntu3.1 | vulnerable |
| Ubuntu | gzip | 24.04 | 1.12-1ubuntu3.2 | fixed |
| Ubuntu | gzip | 25.10 | 1.13-1ubuntu3 | vulnerable |
| Ubuntu | gzip | 25.10 | 1.13-1ubuntu4 | vulnerable |
| Ubuntu | gzip | 26.04 | 1.13-1ubuntu4 | vulnerable |
| Ubuntu | gzip | 26.04 | 1.13-1ubuntu5 | vulnerable |
| Ubuntu | gzip | 26.04 | 1.14-1~exp2ubuntu1 | vulnerable |
| Ubuntu | gzip | 26.04 | 1.14-1~exp2ubuntu1.1 | fixed |
| Ubuntu | gzip | pro | 1.6-4ubuntu1 | vulnerable |
| Ubuntu | gzip | pro | 1.6-4ubuntu1+esm1 | vulnerable |
| Ubuntu | gzip | pro | 1.6-4ubuntu1+esm2 | fixed |
| Suse | gzip | linux enterprise server 12 sp5-ltss | 1.10-4.17.1 | fixed |
| Suse | gzip | linux enterprise server ltss extended security 12 sp5 | 1.10-4.17.1 | fixed |
| Suse | gzip | linux micro 6.0 | 1.13-2.1 | fixed |
| Suse | gzip | linux micro 6.1 | 1.13-slfo.1.1_3.1 | fixed |
| Suse | gzip | linux enterprise server 16.0 | 1.13-160000.3.1 | fixed |
| Suse | gzip | linux enterprise server for sap applications 16.0 | 1.13-160000.3.1 | fixed |
| Suse | gzip | linux enterprise micro 5.3 | 1.10-150200.13.1 | fixed |
| Suse | gzip | linux enterprise micro 5.4 | 1.10-150200.13.1 | fixed |
| Suse | gzip | linux enterprise micro 5.5 | 1.10-150200.13.1 | fixed |
| Suse | gzip | linux enterprise module for basesystem 15 sp7 | 1.10-150200.13.1 | fixed |
| Suse | gzip | linux enterprise high performance computing 15 sp4-espos | 1.10-150200.13.1 | fixed |
| Suse | gzip | linux enterprise high performance computing 15 sp4-ltss | 1.10-150200.13.1 | fixed |
| Suse | gzip | linux enterprise high performance computing 15 sp5-espos | 1.10-150200.13.1 | fixed |
| Suse | gzip | linux enterprise high performance computing 15 sp5-ltss | 1.10-150200.13.1 | fixed |
| Suse | gzip | linux enterprise server 15 sp4-ltss | 1.10-150200.13.1 | fixed |
| Suse | gzip | linux enterprise server 15 sp5-ltss | 1.10-150200.13.1 | fixed |
| Suse | gzip | linux enterprise server 15 sp6-ltss | 1.10-150200.13.1 | fixed |
| Suse | gzip | linux enterprise server for sap applications 15 sp4 | 1.10-150200.13.1 | fixed |
| Suse | gzip | linux enterprise server for sap applications 15 sp5 | 1.10-150200.13.1 | fixed |
| Suse | gzip | linux enterprise server for sap applications 15 sp6 | 1.10-150200.13.1 | fixed |
| Suse | gzip | linux micro 6.2 | 1.13-160000.3.1 | fixed |
| Opensuse | gzip | leap 16.0 | 1.13-160000.3.1 | fixed |
| Ubuntu | gzip | 22.04 | 1.10-4ubuntu1 | vulnerable |
| Ubuntu | gzip | 22.04 | 1.10-4ubuntu2 | vulnerable |
| Ubuntu | gzip | 22.04 | 1.10-4ubuntu3 | vulnerable |
| Ubuntu | gzip | 22.04 | 1.10-4ubuntu4 | vulnerable |
| Ubuntu | gzip | 22.04 | 1.10-4ubuntu4.1 | vulnerable |
| Ubuntu | gzip | 22.04 | 1.10-4ubuntu4.2 | fixed |
| Ubuntu | gzip | 24.04 | 1.12-1ubuntu1 | vulnerable |
| Ubuntu | gzip | 24.04 | 1.12-1ubuntu2 | vulnerable |
| Ubuntu | gzip | 24.04 | 1.12-1ubuntu3 | vulnerable |
| Ubuntu | gzip | 24.04 | 1.12-1ubuntu3.1 | vulnerable |
| Ubuntu | gzip | 24.04 | 1.12-1ubuntu3.2 | fixed |
| Ubuntu | gzip | 26.04 | 1.13-1ubuntu4 | vulnerable |
| Ubuntu | gzip | 26.04 | 1.13-1ubuntu5 | vulnerable |
| Ubuntu | gzip | 26.04 | 1.14-1~exp2ubuntu1 | vulnerable |
| Ubuntu | gzip | 26.04 | 1.14-1~exp2ubuntu1.1 | fixed |
| Opensuse | gzip | tumbleweed | 1.14-2.1 | fixed |
| Cpe | gzip | Not reported | Not reported | unknown |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | gzip | source | sid | 1.14-1 | not yet assigned | Not reported | [1141442] |
| Debian | gzip | source | forky | 1.14-1 | not yet assigned | Not reported | [1141442] |
| Debian | gzip | source | trixie | 1.13-1+deb13u1 | not yet assigned | Not reported | [1141442] |
| Debian | gzip | source | bookworm | (unfixed) | not yet assigned | Not reported | [1141442] |
| Cpe | gzip | cpe | Not reported | 1.12-1ubuntu3.2 | Not reported | Not reported | Not reported |
| Cpe | gzip-win32 | cpe | Not reported | 1.12-1ubuntu3.2 | Not reported | Not reported | Not reported |
| Ubuntu | gzip | deb | pro | 1.10-0ubuntu4.1+esm1 | Not reported | USN-8733-2 | Not reported |
| Ubuntu | gzip | deb | pro | 1.10-0ubuntu4.1+esm1 | Not reported | UBUNTU-CVE-2026-41991 | Not reported |
| Ubuntu | gzip | deb | 22.04 | 1.10-4ubuntu4.2 | Not reported | UBUNTU-CVE-2026-41991 | Not reported |
| Ubuntu | gzip | deb | 24.04 | 1.12-1ubuntu3.2 | Not reported | UBUNTU-CVE-2026-41991 | Not reported |
| Ubuntu | gzip | deb | 26.04 | 1.14-1~exp2ubuntu1.1 | Not reported | UBUNTU-CVE-2026-41991 | Not reported |
| Ubuntu | gzip | deb | pro | 1.6-4ubuntu1+esm2 | Not reported | USN-8733-1 | Not reported |
| Suse | gzip | rpm | linux enterprise server 12 sp5-ltss | 1.10-4.17.1 | Not reported | SUSE-SU-2026:3241-1 | Not reported |
| Suse | gzip | rpm | linux enterprise server ltss extended security 12 sp5 | 1.10-4.17.1 | Not reported | SUSE-SU-2026:3241-1 | Not reported |
| Suse | gzip | rpm | linux micro 6.0 | 1.13-2.1 | Not reported | SUSE-SU-2026:22918-1 | Not reported |
| Suse | gzip | rpm | linux micro 6.1 | 1.13-slfo.1.1_3.1 | Not reported | SUSE-SU-2026:22906-1 | Not reported |
| Suse | gzip | rpm | linux enterprise server 16.0 | 1.13-160000.3.1 | Not reported | SUSE-SU-2026:22818-1 | Not reported |
| Suse | gzip | rpm | linux enterprise server for sap applications 16.0 | 1.13-160000.3.1 | Not reported | SUSE-SU-2026:22818-1 | Not reported |
| Suse | gzip | rpm | linux enterprise micro 5.3 | 1.10-150200.13.1 | Not reported | SUSE-SU-2026:3269-1 | Not reported |
| Suse | gzip | rpm | linux enterprise micro 5.4 | 1.10-150200.13.1 | Not reported | SUSE-SU-2026:3269-1 | Not reported |
| Suse | gzip | rpm | linux enterprise micro 5.5 | 1.10-150200.13.1 | Not reported | SUSE-SU-2026:3269-1 | Not reported |
| Suse | gzip | rpm | linux enterprise module for basesystem 15 sp7 | 1.10-150200.13.1 | Not reported | SUSE-SU-2026:3269-1 | Not reported |
| Suse | gzip | rpm | linux enterprise high performance computing 15 sp4-espos | 1.10-150200.13.1 | Not reported | SUSE-SU-2026:3269-1 | Not reported |
| Suse | gzip | rpm | linux enterprise high performance computing 15 sp4-ltss | 1.10-150200.13.1 | Not reported | SUSE-SU-2026:3269-1 | Not reported |
| Suse | gzip | rpm | linux enterprise high performance computing 15 sp5-espos | 1.10-150200.13.1 | Not reported | SUSE-SU-2026:3269-1 | Not reported |
| Suse | gzip | rpm | linux enterprise high performance computing 15 sp5-ltss | 1.10-150200.13.1 | Not reported | SUSE-SU-2026:3269-1 | Not reported |
| Suse | gzip | rpm | linux enterprise server 15 sp4-ltss | 1.10-150200.13.1 | Not reported | SUSE-SU-2026:3269-1 | Not reported |
| Suse | gzip | rpm | linux enterprise server 15 sp5-ltss | 1.10-150200.13.1 | Not reported | SUSE-SU-2026:3269-1 | Not reported |
| Suse | gzip | rpm | linux enterprise server 15 sp6-ltss | 1.10-150200.13.1 | Not reported | SUSE-SU-2026:3269-1 | Not reported |
| Suse | gzip | rpm | linux enterprise server for sap applications 15 sp4 | 1.10-150200.13.1 | Not reported | SUSE-SU-2026:3269-1 | Not reported |
| Suse | gzip | rpm | linux enterprise server for sap applications 15 sp5 | 1.10-150200.13.1 | Not reported | SUSE-SU-2026:3269-1 | Not reported |
| Suse | gzip | rpm | linux enterprise server for sap applications 15 sp6 | 1.10-150200.13.1 | Not reported | SUSE-SU-2026:3269-1 | Not reported |
| Suse | gzip | rpm | linux micro 6.2 | 1.13-160000.3.1 | Not reported | SUSE-SU-2026:22753-1 | Not reported |
| Opensuse | gzip | rpm | leap 16.0 | 1.13-160000.3.1 | Not reported | OPENSUSE-SU-2026:21371-1 | Not reported |
| Ubuntu | gzip | deb | 22.04 | 1.10-4ubuntu4.2 | Not reported | USN-8512-1 | Not reported |
| Ubuntu | gzip | deb | 24.04 | 1.12-1ubuntu3.2 | Not reported | USN-8512-1 | Not reported |
| Ubuntu | gzip | deb | 26.04 | 1.14-1~exp2ubuntu1.1 | Not reported | USN-8512-1 | Not reported |
| Opensuse | gzip | rpm | tumbleweed | 1.14-2.1 | Not reported | OPENSUSE-SU-2026:11174-1 | Not reported |
Notes
[bookworm] gzip: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [gzip]Affected
Details (2)
1.12-1· amd64 · bookwormAffected
nvd · gzip · debian · bookworm; nvd · gzip · debian · 12
1.12-1· arm64 · bookwormAffected
nvd · gzip · debian · bookworm; nvd · gzip · debian · 12
- [gzip-win32]Affected
Source package: [gzip]
Details (2)
1.12-1· all · bookwormAffected
nvd · gzip · debian · bookworm; nvd · gzip · debian · 12
1.12-1· all · bookwormAffected
nvd · gzip · debian · bookworm; nvd · gzip · debian · 12
[Debian 13 (Trixie)]
- [gzip]Affected
Details (2)
1.13-1· amd64 · trixieAffected · Fixed:
1.13-1+deb13u1nvd · gzip · debian · 13
1.13-1· arm64 · trixieAffected · Fixed:
1.13-1+deb13u1nvd · gzip · debian · 13
[openSUSE Tumbleweed]
Observed:
References
- [https://cert.pl/en/posts/2026/04/CVE-2026-41991/]
- [https://cgit.git.savannah.gnu.org/cgit/gzip.git/commit/?id=4e6f8b24ab823146ab8776f0b7fe486ab34d4269]
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_21371-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-41991]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-41991]
- [https://osv.dev/vulnerability/SUSE-SU-2026:22753-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:22818-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:22906-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:22918-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:3241-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:3269-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-41991]
- [https://osv.dev/vulnerability/USN-8512-1]
- [https://osv.dev/vulnerability/USN-8733-1]
- [https://osv.dev/vulnerability/USN-8733-2]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11174-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:21371-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-41991]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41991.json]
- [https://ubuntu.com/security/notices/USN-8512-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2126.json]
- [https://www.gnu.org/software/gzip/]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]