CVE-2026-41991

gzip: GNU gzip contains a vulnerability in the gzexe utility related to insecure temporary file handling

CVE-2026-41991 is fixed in 2 products on 1 platform, first by gzip 1.6-5ubuntu1.2+esm1, released June 29, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
6.0
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0012
1st percentile

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

Where it's fixed

ProductFixed inFixReleased
Linux
gzip · Debian 13.5 (trixie) 1.13-1+deb13u1 DEBIAN-CVE-2026-41991 Jun 29, 2026
gzip · Debian 14 1.14-1 DEBIAN-CVE-2026-41991 Jun 29, 2026
gzip · RHEL 10 1.13-4.el10_2 RHSA-2026:61625 Jun 29, 2026
gzip · RHEL 8 0:1.9-15.el8_10 RHSA-2026:65998 Sep 13, 2026
gzip · RHEL 9 0:1.12-2.el9_8 RHSA-2026:61623 Sep 13, 2026
gzip · Ubuntu 18.04.6 LTS (bionic) 1.6-5ubuntu1.2+esm1 gzip 1.6-5ubuntu1.2+esm1 Jun 29, 2026
gzip · Ubuntu 20.04 LTS (focal) 1.10-0ubuntu4.1+esm1 gzip 1.10-0ubuntu4.1+esm1 Jun 29, 2026
gzip · Ubuntu 22.04.1 LTS (jammy) 1.10-4ubuntu4.2 gzip 1.10-4ubuntu4.2 Jul 7, 2026
gzip · Ubuntu 24.04.5 LTS (noble) 1.12-1ubuntu3.2 gzip 1.12-1ubuntu3.2 Jul 7, 2026
gzip · Ubuntu 26.04.1 LTS (resolute) 1.14-1~exp2ubuntu1.1 gzip 1.14-1~exp2ubuntu1.1 Jun 29, 2026
gzip · almalinux 10 1.13-4.el10_2 ALSA-2026:61625 Aug 31, 2026
gzip · almalinux 8 1.9-15.el8_10 ALSA-2026:65998 Sep 9, 2026
gzip · almalinux 9 1.12-2.el9_8 ALSA-2026:61623 Aug 31, 2026
gzip · ol 10 0:1.13-4.el10_2 ELSA-2026-61625-0 Sep 1, 2026
gzip · ol 8 0:1.9-15.el8_10 ELSA-2026-65998-0 Sep 10, 2026
gzip · ol 9 0:1.12-2.el9_8 ELSA-2026-61623-0 Sep 1, 2026
gzip · opensuse-leap 16.0 1.13-160000.3.1 OPENSUSE-SU-2026:21371-1 Jul 18, 2026
gzip · rocky 10 0:1.13-4.el10_2 RLSA-2026:61625 Sep 1, 2026
gzip · rocky 8 0:1.9-15.el8_10 RLSA-2026:65998 Sep 10, 2026
gzip · rocky 9 0:1.12-2.el9_8 RLSA-2026:61623 Sep 1, 2026
gzip · sles 15.6 1.10-150200.13.1 SUSE-SU-2026:3269-1 Jul 27, 2026
gzip · sles 15.7 1.10-150200.13.1 SUSE-SU-2026:3269-1 Jul 27, 2026
gzip · sles 16.0 1.13-160000.3.1 SUSE-SU-2026:22818-1 Jul 18, 2026
gzip-win32 · Ubuntu 18.04.6 LTS (bionic) 1.6-5ubuntu1.2+esm1 gzip-win32 1.6-5ubuntu1.2+esm1 Jun 29, 2026
gzip-win32 · Ubuntu 20.04 LTS (focal) 1.10-0ubuntu4.1+esm1 gzip-win32 1.10-0ubuntu4.1+esm1 Jun 29, 2026
gzip-win32 · Ubuntu 22.04.1 LTS (jammy) 1.10-4ubuntu4.2 gzip-win32 1.10-4ubuntu4.2 Jul 7, 2026
gzip-win32 · Ubuntu 24.04.5 LTS (noble) 1.12-1ubuntu3.2 gzip-win32 1.12-1ubuntu3.2 Jul 7, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.