uutils coreutils split Utility TOCTOU Vulnerability Allowing Unintended File Truncation

Vulnerability

A Time-of-Check to Time-of-Use (TOCTOU) vulnerability has been identified in the split utility of uutils coreutils. This vulnerability arises because the program, while attempting to prevent data loss by verifying the identity of input and output files through their file paths, ultimately opens the output file with truncation after this validation. A local attacker with write access to the directory can exploit this timing issue by manipulating path components, such as swapping a path with a symbolic link. This exploitation can lead to the split utility truncating and writing to an unintended file, which may include the input file or other sensitive files accessible to the process, resulting in permanent data loss.

Impact

Exploitation of this vulnerability can cause split to overwrite and truncate files, potentially leading to irreversible data loss.

Remediation

Users can apply the patch available in the GitHub pull request #11401 to address this vulnerability.

Added: Apr 22, 2026, 5:42 PM
Updated: Apr 22, 2026, 5:42 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.6
exploitability
2.9
remediation
0.0
relevance
6.5
threat
0.0
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.