Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-41991

Type: advisorySource: OSV1 source record

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

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-41991

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-41991

gzip

Source reference: /affected/0/package/name

Affected versions
1.12-1

Source reference: /affected/0/versions

1.12-1.1

Source reference: /affected/0/versions

1.12-1.2

Source reference: /affected/0/versions

1.13-1

Source reference: /affected/0/versions

1.13.56~e549-1~exp1

Source reference: /affected/0/versions

1.14-1

Source reference: /affected/0/versions

1.14-1~exp1

Source reference: /affected/0/versions

1.14-1~exp2

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

gzip

Source reference: /affected/1/package/name

Affected versions
1.13-1

Source reference: /affected/1/versions

Fixed versions
1.13-1+deb13u1

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

gzip

Source reference: /affected/2/package/name

Affected versions
1.13-1

Source reference: /affected/2/versions

1.13.56~e549-1~exp1

Source reference: /affected/2/versions

1.14-1~exp1

Source reference: /affected/2/versions

1.14-1~exp2

Source reference: /affected/2/versions

Fixed versions
1.14-1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "gzip",
      "purl": "pkg:deb/debian/gzip?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "1.12-1",
      "1.12-1.1",
      "1.12-1.2",
      "1.13-1",
      "1.13.56~e549-1~exp1",
      "1.14-1",
      "1.14-1~exp1",
      "1.14-1~exp2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41991.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.13-1+deb13u1"
          }
        ]
      }
    ],
    "package": {
      "name": "gzip",
      "purl": "pkg:deb/debian/gzip?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "1.13-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41991.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.14-1"
          }
        ]
      }
    ],
    "package": {
      "name": "gzip",
      "purl": "pkg:deb/debian/gzip?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "1.13-1",
      "1.13.56~e549-1~exp1",
      "1.14-1~exp1",
      "1.14-1~exp2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41991.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#56081 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement