製品・ソフトウェアに関する情報
Uutilsのuutils coreutilsにおける安全でない一時ファイルに関する脆弱性
Title Uutilsのuutils coreutilsにおける安全でない一時ファイルに関する脆弱性
Summary

uutils coreutilsのmktempユーティリティは、空のTMPDIR環境変数を適切に処理できません。GNU mktempはTMPDIRが空文字列の場合に/tmpにフォールバックしますが、uutilsの実装では空文字列を有効なパスとして扱います。これにより、意図された安全な一時ディレクトリではなく、カレントワーキングディレクトリ(CWD)に一時ファイルが作成されてしまいます。もしCWDが/tmpよりも許可が緩く、他のユーザがアクセス可能である場合、意図しない情報漏えいや一時データへの不正アクセスが発生する可能性があります。

Possible impacts 当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

Publication Date April 22, 2026, midnight
Registration Date May 7, 2026, 11:27 a.m.
Last Update May 7, 2026, 11:27 a.m.
CVSS3.0 : 低
Score 3.3
Vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Affected System
Uutils
uutils coreutils 0.6.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2026年05月07日]
  掲載
May 7, 2026, 11:27 a.m.

NVD Vulnerability Information
CVE-2026-35342
Summary

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.

Publication Date April 23, 2026, 2:16 a.m.
Registration Date April 25, 2026, 4:05 a.m.
Last Update April 23, 2026, 6:23 a.m.
Related information, measures and tools
Common Vulnerabilities List