CVE-2026-41991
Last modified
CVE-2026-41991 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. 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). EPSS estimates a 0.12% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Gzip | <= 1.14 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-41991?
How severe is CVE-2026-41991?
How do I fix CVE-2026-41991?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-41985UAF vulnerability in the package management module. Impact: …5.1
- CVE-2026-41986Logic bypass vulnerability in the file system. Impact: Succe…2.4
- CVE-2026-41988uuid before 14.0.0 can make unexpected writes when external …2.5
- CVE-2026-41989Libgcrypt before 1.12.2 sometimes allows a heap-based buffer…6.7
- CVE-2026-4199A vulnerability was identified in bazinga012 mcp_code_execut…5.3
- CVE-2026-41990Libgcrypt before 1.12.2 mishandles Dilithium signing. Writes…4
- CVE-2026-41992GNU gzip contains a global buffer overflow vulnerability in …7.5
- CVE-2026-41993Improper Access Control vulnerability in the Removable Media…6.7
- CVE-2026-41999Incorrect Behaviour of Views with TCP PROXY Requests4.8
- CVE-2026-4200A security flaw has been discovered in glowxq glowxq-oj up t…7.3
- CVE-2026-42000Insufficient Validation of Names During AXFR8.6
- CVE-2026-42001Insufficient Validation of Autoprimary SOA Queries7.5
Are you affected by CVE-2026-41991?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
