Vulnerabilities

Security incident · CVE-2026-41991

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

Published Jun 29, 2026 · catalog updated Nov 5, 2026 · GNU gzip contains a

Last checked Nov 5, 2026. A connected source was read within the last 7 days.

Check if you run it

No confirmed exploitation is on record for CVE-2026-41991. EPSS is 0.12%. Act only if a listed version of GNU gzip contains a is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (GNU gzip contains a).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Medium4.7
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.12%
Remediation
Advisory link
Affected products
Alpine:v3.24 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

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • Alpine:v3.24 gzip0 → 1.15-r0

How to fix CVE-2026-41991

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2026-41991. EPSS is 0.12%. Act only if a listed version of GNU gzip contains a is installed.

Which versions are affected?

Compare what you have installed with 0 → 1.15-r0. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 0.12%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Jun 29, 2026 · OpenSSF OSV / OSV Scanner

    Detected

    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 pa

  2. Nov 5, 2026 · OpenSSF OSV / OSV Scanner

    Fix available

    gzip fixed in 1.15-r0

  3. Nov 5, 2026 · OpenSSF OSV / OSV Scanner

    Fix available

    gzip fixed in 1.15-r0

  4. Nov 5, 2026 · OpenSSF OSV / OSV Scanner

    Updated

    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 pa

Sources

  • CVE.orgVulnerability recordCVE-2026-41991

    Official CVE identifier

    cve.org
  • OpenSSF OSV / OSV ScannerPackage advisoryALPINE-CVE-2026-41991
    osv.dev
  • Trivy Vulnerability DBPackage advisoryALPINE-CVE-2026-41991

    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

    osv.dev

References

Freshness

Last verified in this catalog Nov 5, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • CVE.orgNov 5, 2026
  • Trivy Vulnerability DBNov 5, 2026
  • OpenSSF OSV / OSV ScannerNov 5, 2026