製品・ソフトウェアに関する情報
Uutilsのuutils coreutilsにおけるTime-of-check Time-of-use (TOCTOU) 競合状態の脆弱性
Title Uutilsのuutils coreutilsにおけるTime-of-check Time-of-use (TOCTOU) 競合状態の脆弱性
Summary

uutils coreutilsのsplitユーティリティには、確認時点から使用時点までの時間差(TOCTOU)脆弱性があります。このプログラムは、分割操作を開始する前に入力ファイルと出力ファイルのファイルパスの同一性をチェックし、データ損失を防ごうとします。しかし、このパスベースの検証が完了した後、ユーティリティは出力ファイルを切り詰めモードで開きます。書き込み権限を持つローカル攻撃者は、可変のパス要素(例:シンボリックリンクへのパスの置き換え)を操作してこの競合条件を悪用できます。これにより、splitは意図しないターゲットファイル、場合によっては入力ファイル自身やプロセスがアクセス可能な他の機密ファイルを切り詰めて書き込む可能性があり、永久的なデータ損失を引き起こす恐れがあります。

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

参考情報を参照して適切な対策を実施してください。

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

NVD Vulnerability Information
CVE-2026-35374
Summary

A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the split utility of uutils coreutils. The program attempts to prevent data loss by checking for identity between input and output files using their file paths before initiating the split operation. However, the utility subsequently opens the output file with truncation after this path-based validation is complete. A local attacker with write access to the directory can exploit this race window by manipulating mutable path components (e.g., swapping a path with a symbolic link). This can cause split to truncate and write to an unintended target file, potentially including the input file itself or other sensitive files accessible to the process, leading to permanent data loss.

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