CVE catalog

CVE-2026-35342

The mktemp utility in uutils coreutils fails to…

[CVE catalog]

The mktemp utility in uutils coreutils fails to properly handle an empty TMPDIR environment variable. Unlike GNU mktemp, which falls back to /tmp when TMPDIR is an empty string, the uutils implementation treats the empty string as a valid path. This causes temporary files to be created in the current working directory (CWD) instead of the intended secure temporary directory. If the CWD is more permissive or accessible to other users than /tmp, it may lead to unintended information disclosure or unauthorized access to temporary data.

Severity
Low · CVSS 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.13% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Version impact has not been established. The original provider fields are retained below.

Provider details and historical evidence
Original provider fields
{
  "package_releases": [
    {
      "name": "rust-coreutils",
      "status": "fixed",
      "release": "sid",
      "version": "0.12.0-1"
    },
    {
      "name": "rust-coreutils",
      "status": "fixed",
      "release": "forky",
      "version": "0.12.0-1"
    },
    {
      "name": "rust-coreutils",
      "status": "vulnerable",
      "release": "trixie",
      "version": "0.0.30-2"
    },
    {
      "name": "rust-coreutils",
      "status": "vulnerable",
      "release": "bookworm",
      "version": "0.0.17-2"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "rust-coreutils",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "0.6.0-1"
    },
    {
      "bug": null,
      "name": "rust-coreutils",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "0.6.0-1"
    },
    {
      "bug": null,
      "name": "rust-coreutils",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": ""
    },
    {
      "bug": null,
      "name": "rust-coreutils",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": ""
    }
  ],
  "distribution_packages": [
    {
      "name": "rust-coreutils",
      "ecosystem": "cpe",
      "fixed_version": "not yet fixed"
    },
    {
      "name": "coreutils",
      "ecosystem": "cpe",
      "fixed_version": "0.6.0"
    },
    {
      "name": "rust-coreutils",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "24.04",
      "versions": [
        "0.0.20-1",
        "0.0.22-1",
        "0.0.23-1",
        "0.0.23-2",
        "0.0.23-3",
        "0.0.24-1",
        "0.0.24-2"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-35342"
    },
    {
      "name": "rust-coreutils",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "25.10",
      "versions": [
        "0.0.30-1",
        "0.0.30-2",
        "0.0.30-2ubuntu2",
        "0.1.0-0ubuntu1",
        "0.1.0+git20250711.2ba3a33-0ubuntu1",
        "0.1.0+git20250711.2ba3a33-0ubuntu2",
        "0.1.0+git20250711.2ba3a33-0ubuntu3",
        "0.1.0+git20250711.2ba3a33-0ubuntu4",
        "0.1.0+git20250801.cf79675-0ubuntu1",
        "0.1.0+git20250813.4af2a84-0ubuntu2",
        "0.1.0+git20250813.4af2a84-0ubuntu4",
        "0.1.0+git20250813.4af2a84-0ubuntu6",
        "0.1.0+git20250813.4af2a84-0ubuntu7",
        "0.2.2-0ubuntu1",
        "0.2.2-0ubuntu2",
        "0.2.2-0ubuntu2.1"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-35342"
    },
    {
      "name": "coreutils",
      "ranges": [
        {
          "fixed": "0.6.0",
          "introduced": "",
          "last_affected": "",
          "start_excluding": ""
        }
      ],
      "ecosystem": "cpe",
      "fixed_version": "0.6.0",
      "provider_record_id": "NVD-CVE-2026-35342"
    }
  ]
}

Publisher notes

[trixie] rust-coreutils: Minor issue [bookworm] rust-coreutils: Minor issue

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • Details (2)
    • 0.0.17-2 · amd64 · bookworm

      Affected

      nvd · rust-coreutils · debian · bookworm; nvd · rust-coreutils · debian · 12

    • 0.0.17-2 · arm64 · bookworm

      Affected

      nvd · rust-coreutils · debian · bookworm; nvd · rust-coreutils · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 0.0.30-2 · amd64 · trixie

      Affected

      nvd · rust-coreutils · debian · 13

    • 0.0.30-2 · arm64 · trixie

      Affected

      nvd · rust-coreutils · debian · 13

Observed:

References