Every CVE Search/ Get API key

CVE-2026-41991

Predictable Temporary File in GNU gzip

2.0 LowFix available

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

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
None
User interaction
Passive

What an attacker can affect

Confidentiality
None
Integrity
Low
Availability
None

Exploit likelihood

0.12%Unchanged since Jun 30, 2026
90%50%10%1%

What each source reports

CVE List Score used 2.0

Predictable Temporary File in GNU gzip

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

Record
CVE-2026-41991
CVSS 4.0
2.0 LowCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-377
Updated
2026-11-02
EUVDEUVD-2026-40068 2.0

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

Record
EUVD-2026-40068
CVSS 4.0
2.0 LowCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-67v8-88jf-4x6q 2.0

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

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

Record
GHSA-67v8-88jf-4x6q
CVSS 4.0
2.0 LowCVSS: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
CVSS 3.1
4.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-377
Updated
2026-11-02
NVD 2.0

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

Record
CVE-2026-41991
CVSS 4.0
2.0 LowCVSS: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
CVSS 3.1
4.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-377
Updated
2026-11-02
OSVALPINE-CVE-2026-41991 4.7

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

Record
ALPINE-CVE-2026-41991
CVSS 3.1
4.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-05
OSV 2.0

Predictable Temporary File in GNU gzip

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

Record
CVE-2026-41991
CVSS 4.0
2.0 LowCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-377
Updated
2026-11-02
Show 36 moreShow less
OSVDEBIAN-CVE-2026-41991 4.7

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

Record
DEBIAN-CVE-2026-41991
CVSS 3.1
4.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVJLSEC-2026-1264 2.0

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

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

Record
JLSEC-2026-1264
CVSS 4.0
2.0 LowCVSS: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
CVSS 3.1
4.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVOESA-2026-2969 7.5

gzip security update

gzip is a single-file/stream lossless data compression utility, where the resulting compressed file generally has the suffix .gz.

Security Fix(es):

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(CVE-2026-41991)

GNU gzip contains a global buffer overflow vulnerability in the LZH decompression logic caused by improper reuse of shared global state between different decompression formats within a single execution. GNU gzip maintains a global array that is shared across the LZ77, LZW, and LZH decompression routines and is not reinitialized between files processed in the same invocation. By decompressing a specially crafted LZW file followed by a specially crafted LZH file in a single gzip -d command, an attacker can poison the shared global state and subsequently trigger an out‑of‑bounds read in the LZH decoder. The LZH decompression logic follows stale values left in the shared array, causing reads past the end of the allocated global buffer.

This issue has been fixed in the commit 63dbf6b3b9e6e781df1a6a64e609b10e23969681(CVE-2026-41992)

Record
OESA-2026-2969
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVOESA-2026-2970 7.5

gzip security update

gzip is a single-file/stream lossless data compression utility, where the resulting compressed file generally has the suffix .gz.

Security Fix(es):

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(CVE-2026-41991)

GNU gzip contains a global buffer overflow vulnerability in the LZH decompression logic caused by improper reuse of shared global state between different decompression formats within a single execution. GNU gzip maintains a global array that is shared across the LZ77, LZW, and LZH decompression routines and is not reinitialized between files processed in the same invocation. By decompressing a specially crafted LZW file followed by a specially crafted LZH file in a single gzip -d command, an attacker can poison the shared global state and subsequently trigger an out‑of‑bounds read in the LZH decoder. The LZH decompression logic follows stale values left in the shared array, causing reads past the end of the allocated global buffer.

This issue has been fixed in the commit 63dbf6b3b9e6e781df1a6a64e609b10e23969681(CVE-2026-41992)

Record
OESA-2026-2970
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVOESA-2026-2971 7.5

gzip security update

gzip is a single-file/stream lossless data compression utility, where the resulting compressed file generally has the suffix .gz.

Security Fix(es):

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(CVE-2026-41991)

GNU gzip contains a global buffer overflow vulnerability in the LZH decompression logic caused by improper reuse of shared global state between different decompression formats within a single execution. GNU gzip maintains a global array that is shared across the LZ77, LZW, and LZH decompression routines and is not reinitialized between files processed in the same invocation. By decompressing a specially crafted LZW file followed by a specially crafted LZH file in a single gzip -d command, an attacker can poison the shared global state and subsequently trigger an out‑of‑bounds read in the LZH decoder. The LZH decompression logic follows stale values left in the shared array, causing reads past the end of the allocated global buffer.

This issue has been fixed in the commit 63dbf6b3b9e6e781df1a6a64e609b10e23969681(CVE-2026-41992)

Record
OESA-2026-2971
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVOESA-2026-2972 7.5

gzip security update

gzip is a single-file/stream lossless data compression utility, where the resulting compressed file generally has the suffix .gz.

Security Fix(es):

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(CVE-2026-41991)

GNU gzip contains a global buffer overflow vulnerability in the LZH decompression logic caused by improper reuse of shared global state between different decompression formats within a single execution. GNU gzip maintains a global array that is shared across the LZ77, LZW, and LZH decompression routines and is not reinitialized between files processed in the same invocation. By decompressing a specially crafted LZW file followed by a specially crafted LZH file in a single gzip -d command, an attacker can poison the shared global state and subsequently trigger an out‑of‑bounds read in the LZH decoder. The LZH decompression logic follows stale values left in the shared array, causing reads past the end of the allocated global buffer.

This issue has been fixed in the commit 63dbf6b3b9e6e781df1a6a64e609b10e23969681(CVE-2026-41992)

Record
OESA-2026-2972
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVOESA-2026-2997 7.5

gzip security update

gzip is a single-file/stream lossless data compression utility, where the resulting compressed file generally has the suffix .gz.

Security Fix(es):

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(CVE-2026-41991)

GNU gzip contains a global buffer overflow vulnerability in the LZH decompression logic caused by improper reuse of shared global state between different decompression formats within a single execution. GNU gzip maintains a global array that is shared across the LZ77, LZW, and LZH decompression routines and is not reinitialized between files processed in the same invocation. By decompressing a specially crafted LZW file followed by a specially crafted LZH file in a single gzip -d command, an attacker can poison the shared global state and subsequently trigger an out‑of‑bounds read in the LZH decoder. The LZH decompression logic follows stale values left in the shared array, causing reads past the end of the allocated global buffer.

This issue has been fixed in the commit 63dbf6b3b9e6e781df1a6a64e609b10e23969681(CVE-2026-41992)

Record
OESA-2026-2997
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVRHSA-2026:33771 6.0

Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

Record
RHSA-2026:33771
CVSS 3.1
6.0 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVRHSA-2026:61623 6.0

Red Hat Security Advisory: gzip security update

Record
RHSA-2026:61623
CVSS 3.1
6.0 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVRHSA-2026:61625 6.0

Red Hat Security Advisory: gzip security update

Record
RHSA-2026:61625
CVSS 3.1
6.0 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVRHSA-2026:65998 6.0

Red Hat Security Advisory: gzip security update

Record
RHSA-2026:65998
CVSS 3.1
6.0 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVRHSA-2026:79717 6.0

Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

Record
RHSA-2026:79717
CVSS 3.1
6.0 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVRLSA-2026:61623 6.0

Moderate: gzip security update

The gzip packages contain the gzip (GNU zip) data compression utility. gzip is used to compress regular files. It replaces them with files containing the .gz extension, while retaining ownership modes, access, and modification times.

Security Fix(es):

  • gzip: gzip: Arbitrary file overwrite via insecure temporary file handling in gzexe utility (CVE-2026-41991)

  • gzip: gzip: Information disclosure via global buffer overflow in LZH decompression (CVE-2026-41992)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2026:61623
CVSS 3.1
6.0 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVRLSA-2026:61625 6.0

Moderate: gzip security update

The gzip packages contain the gzip (GNU zip) data compression utility. gzip is used to compress regular files. It replaces them with files containing the .gz extension, while retaining ownership modes, access, and modification times.

Security Fix(es):

  • gzip: gzip: Arbitrary file overwrite via insecure temporary file handling in gzexe utility (CVE-2026-41991)

  • gzip: gzip: Information disclosure via global buffer overflow in LZH decompression (CVE-2026-41992)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2026:61625
CVSS 3.1
6.0 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVRLSA-2026:65998 6.0

Moderate: gzip security update

The gzip packages contain the gzip (GNU zip) data compression utility. gzip is used to compress regular files. It replaces them with files containing the .gz extension, while retaining ownership modes, access, and modification times.

Security Fix(es):

  • gzip: gzip: Arbitrary file overwrite via insecure temporary file handling in gzexe utility (CVE-2026-41991)

  • gzip: gzip: Information disclosure via global buffer overflow in LZH decompression (CVE-2026-41992)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2026:65998
CVSS 3.1
6.0 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-41991 2.0

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

Record
UBUNTU-CVE-2026-41991
CVSS 4.0
2.0 LowCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
4.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVALSA-2026:61623 No score

Moderate: gzip security update

The gzip packages contain the gzip (GNU zip) data compression utility. gzip is used to compress regular files. It replaces them with files containing the .gz extension, while retaining ownership modes, access, and modification times.

Security Fix(es):

  • gzip: gzip: Arbitrary file overwrite via insecure temporary file handling in gzexe utility (CVE-2026-41991)
  • gzip: gzip: Information disclosure via global buffer overflow in LZH decompression (CVE-2026-41992)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2026:61623
Updated
2026-11-02
OSVALSA-2026:61625 No score

Moderate: gzip security update

The gzip packages contain the gzip (GNU zip) data compression utility. gzip is used to compress regular files. It replaces them with files containing the .gz extension, while retaining ownership modes, access, and modification times.

Security Fix(es):

  • gzip: gzip: Arbitrary file overwrite via insecure temporary file handling in gzexe utility (CVE-2026-41991)
  • gzip: gzip: Information disclosure via global buffer overflow in LZH decompression (CVE-2026-41992)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2026:61625
Updated
2026-11-02
OSVALSA-2026:65998 No score

Moderate: gzip security update

The gzip packages contain the gzip (GNU zip) data compression utility. gzip is used to compress regular files. It replaces them with files containing the .gz extension, while retaining ownership modes, access, and modification times.

Security Fix(es):

  • gzip: gzip: Arbitrary file overwrite via insecure temporary file handling in gzexe utility (CVE-2026-41991)
  • gzip: gzip: Information disclosure via global buffer overflow in LZH decompression (CVE-2026-41992)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2026:65998
Updated
2026-11-02
OSVCLSA-2026-1783514299 No score

gzip: Fix of CVE-2026-41991

  • CVE-2026-41991: fix a race when creating a temporary file in gzexe and zdiff on platforms lacking mktemp
Record
CLSA-2026-1783514299
Updated
2026-11-02
OSVCLSA-2026-1783934943 No score

gzip: Fix of 2 CVEs

  • CVE-2026-41991: fix a race when creating a temporary file in gzexe and zdiff on platforms lacking mktemp
Record
CLSA-2026-1783934943
Updated
2026-11-02
OSVMGASA-2026-0245 No score

Updated gzip package fixes security vulnerabilities

The updated package fixes security vulnerabilities: Predictable Temporary File in GNU gzip. (CVE-2026-41991) Global Buffer Overflow in GNU gzip. (CVE-2026-41992)

Record
MGASA-2026-0245
Updated
2026-11-02
OSVopenSUSE-SU-2026:11174-1 No score

gzip-1.14-2.1 on GA media

These are all security issues fixed in the gzip-1.14-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11174-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:21371-1 No score

Security update for gzip

This update for gzip fixes the following issue

  • CVE-2026-41991: insecure temporary file handling in the gzexe utility when the mktemp utility is not available in the user's PATH (bsc#1269622).
Record
openSUSE-SU-2026:21371-1
Updated
2026-11-02
OSVROOT-OS-DEBIAN-11-CVE-2026-41991 No score

CVE-2026-41991 in gzip - Patched by Root

Root has patched CVE-2026-41991 in the gzip package for Root:Debian:11. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-11-CVE-2026-41991
Updated
2026-11-02
OSVROOT-OS-DEBIAN-12-CVE-2026-41991 No score

CVE-2026-41991 in gzip - Patched by Root

Root has patched CVE-2026-41991 in the gzip package for Root:Debian:12. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-12-CVE-2026-41991
Updated
2026-11-02
OSVROOT-OS-DEBIAN-13-CVE-2026-41991 No score

CVE-2026-41991 in gzip - Patched by Root

Root has patched CVE-2026-41991 in the gzip package for Root:Debian:13. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-13-CVE-2026-41991
Updated
2026-11-02
OSVSUSE-SU-2026:22753-1 No score

Security update for gzip

This update for gzip fixes the following issue

  • CVE-2026-41991: insecure temporary file handling in the gzexe utility when the mktemp utility is not available in the user's PATH (bsc#1269622).
Record
SUSE-SU-2026:22753-1
Updated
2026-11-02
OSVSUSE-SU-2026:22818-1 No score

Security update for gzip

This update for gzip fixes the following issue

  • CVE-2026-41991: insecure temporary file handling in the gzexe utility when the mktemp utility is not available in the user's PATH (bsc#1269622).
Record
SUSE-SU-2026:22818-1
Updated
2026-11-02
OSVSUSE-SU-2026:22906-1 No score

Security update for gzip

This update for gzip fixes the following issue

  • CVE-2026-41991: insecure temporary file handling in the gzexe utility when the mktemp utility is not available in a user's PATH (bsc#1269622).
Record
SUSE-SU-2026:22906-1
Updated
2026-11-02
OSVSUSE-SU-2026:22918-1 No score

Security update for gzip

This update for gzip fixes the following issue

  • CVE-2026-41991: insecure temporary file handling in the gzexe utility when the mktemp utility is not available in a user's PATH (bsc#1269622).
Record
SUSE-SU-2026:22918-1
Updated
2026-11-02
OSVSUSE-SU-2026:3241-1 No score

Security update for gzip

This update for gzip fixes the following issue:

  • CVE-2026-41991: insecure temporary file handling in the gzexe utility when the mktemp utility is not available in the user's PATH (bsc#1269622).
Record
SUSE-SU-2026:3241-1
Updated
2026-11-02
OSVSUSE-SU-2026:3269-1 No score

Security update for gzip

This update for gzip fixes the following issue:

  • CVE-2026-41991: insecure temporary file handling in the gzexe utility when the mktemp utility is not available in the user's PATH (bsc#1269622).
Record
SUSE-SU-2026:3269-1
Updated
2026-11-02
OSVUSN-8512-1 No score

gzip vulnerabilities

It was discovered that Gzip's gzexe utility handled temporary files in an insecure manner. When the mktemp utility was not available, gzexe constructed a temporary file path based on the process ID, which could be predicted. A local attacker could possibly use this issue to overwrite arbitrary files via a symlink attack. (CVE-2026-41991)

It was discovered that Gzip incorrectly handled certain compressed files. An attacker could possibly use this issue to obtain sensitive information or cause Gzip to crash, resulting in a denial of service. (CVE-2026-41992)

Record
USN-8512-1
Updated
2026-11-02
OSVUSN-8733-1 No score

gzip vulnerabilities

Michał Majchrowicz and Marcin Wyczechowski discovered that Gzip's gzexe utility created temporary files in an insecure manner when mktemp was unavailable. A local attacker could possibly use this issue to overwrite arbitrary files. (CVE-2026-41991)

Elias Hasas, Michał Majchrowicz and Marcin Wyczechowski discovered that Gzip incorrectly handled certain compressed files. An attacker could possibly use this issue to obtain sensitive information or cause Gzip to crash, resulting in a denial of service. (CVE-2026-41992)

Record
USN-8733-1
Updated
2026-11-02
OSVUSN-8733-2 No score

gzip vulnerabilities

USN-8733-1 fixed vulnerabilities in Gzip. This update provides the corresponding fix for Gzip on Ubuntu 14.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.

Original advisory details:

Michał Majchrowicz and Marcin Wyczechowski discovered that Gzip's gzexe utility created temporary files in an insecure manner when mktemp was unavailable. A local attacker could possibly use this issue to overwrite arbitrary files. (CVE-2026-41991)

Elias Hasas, Michał Majchrowicz and Marcin Wyczechowski discovered that Gzip incorrectly handled certain compressed files. An attacker could possibly use this issue to obtain sensitive information or cause Gzip to crash, resulting in a denial of service. (CVE-2026-41992)

Record
USN-8733-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
gzip
Alpine:v3.24
before 1.15-r0
1.15-r0
gzip
AlmaLinux:9
From an advisory covering 2 CVEs
before 1.12-2.el9_8
1.12-2.el9_8
gzip
AlmaLinux:10
From an advisory covering 2 CVEs
before 1.13-4.el10_2
1.13-4.el10_2
gzip
AlmaLinux:8
From an advisory covering 2 CVEs
before 1.9-15.el8_10
1.9-15.el8_10
gzip
TuxCare:AlmaLinux:9.2
before 1.12-1.el9_2.tuxcare.els1
1.12-1.el9_2.tuxcare.els1
gzip
TuxCare:AlmaLinux:9.6
before 1.12-1.el9.tuxcare.els1
1.12-1.el9.tuxcare.els1
gzip
Debian:12
All versions, plus listed versions
1.12-11.12-1.11.12-1.21.13-11.13.56~e549-1~exp11.14-11.14-1~exp11.14-1~exp2
None known
gzip
Debian:13
before 1.13-1+deb13u1, plus listed versions
1.13-1
1.13-1+deb13u1
gzip
Debian:14
before 1.14-1, plus listed versions
1.13-11.13.56~e549-1~exp11.14-1~exp11.14-1~exp2
1.14-1
Gzip_jll
Julia
All versions None known
Show 63 moreShow less
Affected packages
PackageAffectedFixed
gzip
Mageia:10
From an advisory covering 2 CVEs
before 1.14-2.1.mga10
1.14-2.1.mga10
gzip
Mageia:9
From an advisory covering 2 CVEs
before 1.12-1.1.mga9
1.12-1.1.mga9
gzip
openEuler:24.03-LTS-SP3
From an advisory covering 2 CVEs
before 1.12-7.oe2403sp3
1.12-7.oe2403sp3
gzip
openEuler:20.03-LTS-SP4
From an advisory covering 2 CVEs
before 1.10-4.oe2003sp4
1.10-4.oe2003sp4
gzip
openEuler:22.03-LTS-SP4
From an advisory covering 2 CVEs
before 1.12-3.oe2203sp4
1.12-3.oe2203sp4
gzip
openEuler:24.03-LTS-SP1
From an advisory covering 2 CVEs
before 1.12-7.oe2403sp1
1.12-7.oe2403sp1
gzip
openEuler:24.03-LTS-SP4
From an advisory covering 2 CVEs
before 1.12-7.oe2403sp4
1.12-7.oe2403sp4
gzip
Red Hat:hummingbird:1
before 0:1.14-2.2.hum1
0:1.14-2.2.hum1
gzip
Red Hat:enterprise_linux:9::baseos
From an advisory covering 2 CVEs
before 0:1.12-2.el9_8
0:1.12-2.el9_8
gzip-debuginfo
Red Hat:enterprise_linux:9::baseos
From an advisory covering 2 CVEs
before 0:1.12-2.el9_8
0:1.12-2.el9_8
gzip-debugsource
Red Hat:enterprise_linux:9::baseos
From an advisory covering 2 CVEs
before 0:1.12-2.el9_8
0:1.12-2.el9_8
gzip
Red Hat:enterprise_linux:10.2
From an advisory covering 2 CVEs
before 0:1.13-4.el10_2
0:1.13-4.el10_2
gzip-debuginfo
Red Hat:enterprise_linux:10.2
From an advisory covering 2 CVEs
before 0:1.13-4.el10_2
0:1.13-4.el10_2
gzip-debugsource
Red Hat:enterprise_linux:10.2
From an advisory covering 2 CVEs
before 0:1.13-4.el10_2
0:1.13-4.el10_2
gzip
Red Hat:enterprise_linux:8::baseos
From an advisory covering 2 CVEs
before 0:1.9-15.el8_10
0:1.9-15.el8_10
gzip-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 2 CVEs
before 0:1.9-15.el8_10
0:1.9-15.el8_10
gzip-debugsource
Red Hat:enterprise_linux:8::baseos
From an advisory covering 2 CVEs
before 0:1.9-15.el8_10
0:1.9-15.el8_10
gzip
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:1.15-1.hum1
0:1.15-1.hum1
gzip
Rocky Linux:9
From an advisory covering 2 CVEs
before 0:1.12-2.el9_8
0:1.12-2.el9_8
gzip
Rocky Linux:10
From an advisory covering 2 CVEs
before 0:1.13-4.el10_2
0:1.13-4.el10_2
gzip
Rocky Linux:8
From an advisory covering 2 CVEs
before 0:1.9-15.el8_10
0:1.9-15.el8_10
gzip
Root:Debian:11
before 1.10-4+deb11u1.aikido.2
1.10-4+deb11u1.aikido.21.10-4+deb11u1.aikido.3
rootio-gzip
Root:Debian:11
before 1.10-4+deb11u1.aikido.2
1.10-4+deb11u1.aikido.21.10-4+deb11u1.aikido.3
gzip
Root:Debian:12
before 1.12-1.aikido.2
1.12-1.aikido.21.12-1.aikido.3
rootio-gzip
Root:Debian:12
before 1.12-1.aikido.2
1.12-1.aikido.21.12-1.aikido.3
gzip
SUSE:Linux Micro 6.2
before 1.13-160000.3.1
1.13-160000.3.1
gzip
SUSE:Linux Enterprise Server 16.0
before 1.13-160000.3.1
1.13-160000.3.1
gzip
SUSE:Linux Enterprise Server for SAP applications 16.0
before 1.13-160000.3.1
1.13-160000.3.1
gzip
SUSE:Linux Micro 6.1
before 1.13-slfo.1.1_3.1
1.13-slfo.1.1_3.1
gzip
SUSE:Linux Micro 6.0
before 1.13-2.1
1.13-2.1
gzip
SUSE:Linux Enterprise Server 12 SP5-LTSS
before 1.10-4.17.1
1.10-4.17.1
gzip
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5
before 1.10-4.17.1
1.10-4.17.1
gzip
SUSE:Linux Enterprise Micro 5.3
before 1.10-150200.13.1
1.10-150200.13.1
gzip
SUSE:Linux Enterprise Micro 5.4
before 1.10-150200.13.1
1.10-150200.13.1
gzip
SUSE:Linux Enterprise Micro 5.5
before 1.10-150200.13.1
1.10-150200.13.1
gzip
SUSE:Linux Enterprise Module for Basesystem 15 SP7
before 1.10-150200.13.1
1.10-150200.13.1
gzip
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS
before 1.10-150200.13.1
1.10-150200.13.1
gzip
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS
before 1.10-150200.13.1
1.10-150200.13.1
gzip
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS
before 1.10-150200.13.1
1.10-150200.13.1
gzip
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS
before 1.10-150200.13.1
1.10-150200.13.1
gzip
SUSE:Linux Enterprise Server 15 SP4-LTSS
before 1.10-150200.13.1
1.10-150200.13.1
gzip
SUSE:Linux Enterprise Server 15 SP5-LTSS
before 1.10-150200.13.1
1.10-150200.13.1
gzip
SUSE:Linux Enterprise Server 15 SP6-LTSS
before 1.10-150200.13.1
1.10-150200.13.1
gzip
SUSE:Linux Enterprise Server for SAP Applications 15 SP4
before 1.10-150200.13.1
1.10-150200.13.1
gzip
SUSE:Linux Enterprise Server for SAP Applications 15 SP5
before 1.10-150200.13.1
1.10-150200.13.1
gzip
SUSE:Linux Enterprise Server for SAP Applications 15 SP6
before 1.10-150200.13.1
1.10-150200.13.1
gzip
Ubuntu:Pro:14.04:LTS
before 1.6-3ubuntu1+esm2, plus listed versions
1.6-2ubuntu11.6-3ubuntu11.6-3ubuntu1+esm1
1.6-3ubuntu1+esm2
gzip
Ubuntu:Pro:16.04:LTS
before 1.6-4ubuntu1+esm2, plus listed versions
1.6-4ubuntu11.6-4ubuntu1+esm1
1.6-4ubuntu1+esm2
gzip
Ubuntu:Pro:18.04:LTS
before 1.6-5ubuntu1.2+esm1, plus listed versions
1.6-5ubuntu11.6-5ubuntu1.11.6-5ubuntu1.2
1.6-5ubuntu1.2+esm1
gzip
Ubuntu:Pro:20.04:LTS
before 1.10-0ubuntu4.1+esm1, plus listed versions
1.10-0ubuntu31.10-0ubuntu41.10-0ubuntu4.1
1.10-0ubuntu4.1+esm1
gzip
Ubuntu:22.04:LTS
before 1.10-4ubuntu4.2, plus listed versions
1.10-4ubuntu11.10-4ubuntu21.10-4ubuntu31.10-4ubuntu41.10-4ubuntu4.1
1.10-4ubuntu4.2
gzip
Ubuntu:24.04:LTS
before 1.12-1ubuntu3.2, plus listed versions
1.12-1ubuntu11.12-1ubuntu21.12-1ubuntu31.12-1ubuntu3.1
1.12-1ubuntu3.2
gzip
Ubuntu:25.10
All versions, plus listed versions
1.13-1ubuntu31.13-1ubuntu4
None known
gzip
Ubuntu:26.04:LTS
before 1.14-1~exp2ubuntu1.1, plus listed versions
1.13-1ubuntu41.13-1ubuntu51.14-1~exp2ubuntu1
1.14-1~exp2ubuntu1.1
gzip
Ubuntu:22.04:LTS
From an advisory covering 2 CVEs
before 1.10-4ubuntu4.2, plus listed versions
1.10-4ubuntu11.10-4ubuntu21.10-4ubuntu31.10-4ubuntu41.10-4ubuntu4.1
1.10-4ubuntu4.2
gzip
Ubuntu:24.04:LTS
From an advisory covering 2 CVEs
before 1.12-1ubuntu3.2, plus listed versions
1.12-1ubuntu11.12-1ubuntu21.12-1ubuntu31.12-1ubuntu3.1
1.12-1ubuntu3.2
gzip
Ubuntu:26.04:LTS
From an advisory covering 2 CVEs
before 1.14-1~exp2ubuntu1.1, plus listed versions
1.13-1ubuntu41.13-1ubuntu51.14-1~exp2ubuntu1
1.14-1~exp2ubuntu1.1
gzip
Ubuntu:Pro:16.04:LTS
From an advisory covering 2 CVEs
before 1.6-4ubuntu1+esm2, plus listed versions
1.6-4ubuntu11.6-4ubuntu1+esm1
1.6-4ubuntu1+esm2
gzip
Ubuntu:Pro:14.04:LTS
From an advisory covering 2 CVEs
before 1.6-3ubuntu1+esm2, plus listed versions
1.6-2ubuntu11.6-3ubuntu11.6-3ubuntu1+esm1
1.6-3ubuntu1+esm2
gzip
Ubuntu:Pro:18.04:LTS
From an advisory covering 2 CVEs
before 1.6-5ubuntu1.2+esm1, plus listed versions
1.6-5ubuntu11.6-5ubuntu1.11.6-5ubuntu1.2
1.6-5ubuntu1.2+esm1
gzip
Ubuntu:Pro:20.04:LTS
From an advisory covering 2 CVEs
before 1.10-0ubuntu4.1+esm1, plus listed versions
1.10-0ubuntu31.10-0ubuntu41.10-0ubuntu4.1
1.10-0ubuntu4.1+esm1
gzip
openSUSE:Tumbleweed
before 1.14-2.1
1.14-2.1
gzip
openSUSE:Leap 16.0
before 1.13-160000.3.1
1.13-160000.3.1

History

History
RecordedChangedSources
affected
affected, aliases, facts, referencesOSV
affected
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-41991 is a low vulnerability (CVSS 2.0) in Gnu Gzip, published June 29, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.12%, the 1st percentile. Fixed in gzip 1.15-r0.

References

Show 53 moreShow less
MoveEnter Open