CVE & CISA-KEV Catalog

CVE-2026-41991

LOW
4.7
CVSS v3
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
gzipDebian
Fixed in:1.13-1+deb13u1CVE-2026-41991
Fixed in:1.14-1CVE-2026-41991
gzipRocky
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
Fixed in:main@srcRHSA-2026:33771
Fixed in:main@aarch64RHSA-2026:33771
gzipRed Hat / RHEL
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
Fixed in:main@srcRHSA-2026:33771
gzip-debuginfoRed Hat / RHEL
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
gzip-debuginfoRocky
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
gzip-debugsourceRed Hat / RHEL
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
gzip-debugsourceRocky
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.13-4.el10_2RHSA-2026:61625
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
Fixed in:0:1.9-15.el8_10RHSA-2026:65998
registry.redhat.io/discovery/discoveryRocky
Fixed in:ui-rhel9@sha256:480c69f89b45c714ec13a7901bc8615a2fa3f4622c889cd023d80a6278855a58_arm64RHSA-2026:61783
Fixed in:server-rhel9@sha256:5efae8059c9c15454abac947b8482412686d60aaf5c104557d463e8282e340af_amd64RHSA-2026:61783
Fixed in:server-rhel9@sha256:e9592a7aa5db3a61a7248d7b0305f3eb2fae189b1d078e483f1cc439f5b2351d_arm64RHSA-2026:61783
Fixed in:ui-rhel9@sha256:def96951197558d6c5d1784a7971b0e37b44025c60d9b59fe6797085e39c382a_amd64RHSA-2026:61783
registry.redhat.io/discovery/discoveryRed Hat / RHEL
Fixed in:server-rhel9@sha256:e9592a7aa5db3a61a7248d7b0305f3eb2fae189b1d078e483f1cc439f5b2351d_arm64RHSA-2026:61783
Fixed in:server-rhel9@sha256:5efae8059c9c15454abac947b8482412686d60aaf5c104557d463e8282e340af_amd64RHSA-2026:61783
Fixed in:ui-rhel9@sha256:480c69f89b45c714ec13a7901bc8615a2fa3f4622c889cd023d80a6278855a58_arm64RHSA-2026:61783
Fixed in:ui-rhel9@sha256:def96951197558d6c5d1784a7971b0e37b44025c60d9b59fe6797085e39c382a_amd64RHSA-2026:61783
registry.redhat.io/rhui5/cdsRed Hat / RHEL
Fixed in:rhel9@sha256:53eede6ba9dc80a9430d598f63e6ea9dbfb7f92b2cf778577c692ec2af8c9499_amd64RHSA-2026:66018
Fixed in:kubernetes-rhel9@sha256:7840142734dad76221aa6846ab6e8aacc913a8017e4c5c956d574f78b8dfa98d_amd64RHSA-2026:66018
registry.redhat.io/rhui5/cdsRocky
Fixed in:rhel9@sha256:53eede6ba9dc80a9430d598f63e6ea9dbfb7f92b2cf778577c692ec2af8c9499_amd64RHSA-2026:66018
Fixed in:kubernetes-rhel9@sha256:7840142734dad76221aa6846ab6e8aacc913a8017e4c5c956d574f78b8dfa98d_amd64RHSA-2026:66018
registry.redhat.io/rhui5/haproxyRocky
Fixed in:rhel9@sha256:3460a52ef50810d3a1077fd21d13b0d07e51e50af6f41958afa8e319b2954a1c_amd64RHSA-2026:66018
registry.redhat.io/rhui5/haproxyRed Hat / RHEL
Fixed in:rhel9@sha256:3460a52ef50810d3a1077fd21d13b0d07e51e50af6f41958afa8e319b2954a1c_amd64RHSA-2026:66018
registry.redhat.io/rhui5/installerRed Hat / RHEL
Fixed in:rhel9@sha256:4184dd496e0c466b594d035371df0801b54e4825f91016d47cd0003b99ce87c7_amd64RHSA-2026:66018
registry.redhat.io/rhui5/installerRocky
Fixed in:rhel9@sha256:4184dd496e0c466b594d035371df0801b54e4825f91016d47cd0003b99ce87c7_amd64RHSA-2026:66018
registry.redhat.io/rhui5/rhuaRocky
Fixed in:rhel9@sha256:ace80f39f33d921b97be5c74257b52d64170e4eac4b0e2db7d7d13a598d38450_amd64RHSA-2026:66018
registry.redhat.io/rhui5/rhuaRed Hat / RHEL
Fixed in:rhel9@sha256:ace80f39f33d921b97be5c74257b52d64170e4eac4b0e2db7d7d13a598d38450_amd64RHSA-2026:66018
gzipUbuntu
Fixed in:1.6-4ubuntu1+esm2USN-8733-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:1.10-4ubuntu4.2USN-8512-1
Fixed in:1.12-1ubuntu3.2USN-8512-1

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

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.

Red Hat vendor guidance

Ensure that the mktemp utility (provided by the coreutils package) is available in PATH when using the gzexe utility. On Red Hat Enterprise Linux, mktemp is installed by default and no additional action is needed.

Source: Red Hat

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

Exploit Intelligence

0.19%probability of exploitation in 30 days
8thpercentile

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

References

Product1
Other references1

Related Vulnerabilities

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

CVESeverityCVSSEPSSExploitedFix
CVE-2015-5224Critical9.84.5%-Fix
CVE-2026-20204High7.13.1%-Fix
CVE-2018-3710High7.82.8%-Fix
CVE-2017-16024Medium6.52.6%-Fix
CVE-2012-2666Critical9.81.9%--
CVE-2018-16494High8.81.9%-Fix

Common questions

How do I fix CVE-2026-41991?

Published advisories record a fix for 18 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2026-41991 being actively exploited?

Not that we know of. CVE-2026-41991 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.19% is the estimated probability that it will be exploited in the next 30 days. That is higher than 8% of all scored CVEs.

How severe is CVE-2026-41991?

CVE-2026-41991 has a CVSS v3 base score of 4.7, rated low. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-41991 affect?

Published advisories record a fix for gzip (Debian), gzip (Rocky), gzip (Red Hat / RHEL), gzip-debuginfo (Red Hat / RHEL), and 14 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

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>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart 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-07-01.