Insecure Temporary File Handling in GNU Gzip's Gzexe Utility

2LOW

CVE-2026-41991

Key Information:

Vendor

Gnu

Status
CVE ID
CVE ID:
CVE-2026-41991
Vendor
CVE Published:
29 June 2026

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • No: Needs local access
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Why it's rated "Monitor"
  • Its CVSS severity is low (2).

What is CVE-2026-41991?

The gzexe utility in GNU gzip is susceptible to a vulnerability stemming from insecure handling of temporary files. When the mktemp utility is absent from the user’s PATH, gzexe resorts to generating a temporary file path using just the process ID (PID). This predictable filename does not incorporate exclusive access or existence validation, which permits a local attacker to preemptively create a symbolic link at the anticipated temporary file location. When gzexe operates, it may follow this symbolic link, inadvertently overwriting a different file that the attacker has targeted. This flaw results in a time-of-check to time-of-use (TOCTOU) condition, ultimately enabling unauthorized file overwrite attacks. This issue has been rectified in the commit 4e6f8b24ab823146ab8776f0b7fe486ab34d4269.

Affected Version(s)

gzip 0 <= 1.14

References

Out-of-Bounds Write Vulnerability in GNU Inetutils Telnetd

CVE-2026-32746
GnuInetutilsπŸ”₯πŸ˜„πŸ‘Ύ9.8CRITICAL

Remote Authentication Bypass in GNU Inetutils Telnetd

CVE-2026-24061
GnuInetutilsπŸ”₯πŸ˜„πŸ‘ΎπŸŸ£9.8CRITICAL
View more Gnu vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V4

Score:
2
Severity:
LOW
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Local
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Credit

MichaΕ‚ Majchrowicz (AFINE)
Marcin Wyczechowski (AFINE)
.