CVE & CISA-KEV Catalog

CVE-2026-41991

LOW
2.0
CVSS v4
NVD

Description

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

How to fix

Remediation Available
gzipRed Hat / RHEL
Fixed in:main@aarch64RHSA-2026:33771
Fixed in:main@srcRHSA-2026:33771
Fixed in:main@x86_64RHSA-2026:33771
gzipRocky
Fixed in:main@aarch64RHSA-2026:33771
Fixed in:main@srcRHSA-2026:33771
Fixed in:main@x86_64RHSA-2026:33771

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v4 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredNone

Impact

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

Exploit Intelligence

0.12%probability of exploitation in 30 days
2ndpercentile

Low risk: more likely to be exploited than 2% of all known CVEs.

References

Embed a live status badge for CVE-2026-41991
CVE-2026-41991 severity badge

Markdown

[![CVE-2026-41991](https://tridentstack.com/cve/badge/CVE-2026-41991.svg)](https://tridentstack.com/cve/CVE-2026-41991)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-41991"><img src="https://tridentstack.com/cve/badge/CVE-2026-41991.svg" alt="CVE-2026-41991"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-29.