VDB

CVE-2026-41991

CVE-2026-41991 PUBLISHED CVSS 2 LOW

Predictable Temporary File in GNU gzip

Reported by cert-pl · Published June 29, 2026

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
gziperrata.rockylinux.org1.13-4.el10, 1.12-2.el9, 1.9-15.el8
gzip-debuginfoerrata.rockylinux.org1.13-4.el10, 1.12-2.el9, 1.9-15.el8
gzip-debugsourceerrata.rockylinux.org1.13-4.el10, 1.12-2.el9, 1.9-15.el8
gzipGNU1.14

Risk scores

CVSS 4.0
2
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

Affected products

VendorProductVersions
GNUgzip0
GNUgzip0

Timeline

  • Jun 29, 2026 CVE Published
  • Jun 29, 2026 CVE Updated
  • Jun 30, 2026 EPSS Score (8 in total, the first dated here)
  • Jun 30, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (11 in total, the first dated here)
  • Aug 11, 2026 Security Advisory (9 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-41991
vulnetix vdb fixes CVE-2026-41991

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-41991/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • third-party-advisory
  • product
  • patch
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›