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
gzipRocky
Fixed in:main@srcRHSA-2026:33771
Fixed in:main@aarch64RHSA-2026:33771
Fixed in:main@x86_64RHSA-2026:33771
gzipRed Hat / RHEL
Fixed in:main@aarch64RHSA-2026:33771
Fixed in:main@x86_64RHSA-2026:33771
Fixed in:main@srcRHSA-2026:33771
gzipUbuntu
Fixed in:1.10-4ubuntu4.2USN-8512-1
Fixed in:1.12-1ubuntu3.2USN-8512-1

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

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.10%probability of exploitation in 30 days
1stpercentile

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

References

Related Vulnerabilities

Other CWE-377 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2015-5224Critical9.84.5%-Fix
CVE-2026-20204High7.13.3%-Fix
CVE-2018-3710High7.82.9%-Fix
CVE-2017-16024Medium6.52.6%-Fix
CVE-2012-2666Critical9.81.9%--
CVE-2018-16494High8.81.9%-Fix
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.

See how it worksStart freeThis CVE lookup is free and always will be.

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.