CVE-2026-35374: CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition in Uutils coreutils
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.
AI Analysis
Technical Summary
The vulnerability in uutils coreutils' split utility arises from a TOCTOU race condition where the program validates file identity by path before opening the output file with truncation. Because the check and the file open are separate operations, an attacker with local write access to the directory can alter the path (e.g., via symbolic links) between these steps. This manipulation can redirect the truncation and write operations to unintended files, including the input file or other sensitive files accessible by the process, causing data loss. The vulnerability requires local access with write permissions and has a medium CVSS score of 6.3, reflecting high impact on integrity and availability but requiring high attack complexity and low privileges.
Potential Impact
Successful exploitation can lead to permanent data loss by truncating and overwriting unintended files, including the input file or other sensitive files accessible to the process. This affects data integrity and availability but does not impact confidentiality. The attack requires local access with write permissions to the directory containing the files. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict local write permissions on directories where the split utility is used to trusted users only to reduce the risk of exploitation. Avoid running split operations in directories where untrusted users have write access. Monitor vendor channels for updates or patches addressing this TOCTOU vulnerability.
CVE-2026-35374: CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition in Uutils coreutils
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in uutils coreutils' split utility arises from a TOCTOU race condition where the program validates file identity by path before opening the output file with truncation. Because the check and the file open are separate operations, an attacker with local write access to the directory can alter the path (e.g., via symbolic links) between these steps. This manipulation can redirect the truncation and write operations to unintended files, including the input file or other sensitive files accessible by the process, causing data loss. The vulnerability requires local access with write permissions and has a medium CVSS score of 6.3, reflecting high impact on integrity and availability but requiring high attack complexity and low privileges.
Potential Impact
Successful exploitation can lead to permanent data loss by truncating and overwriting unintended files, including the input file or other sensitive files accessible to the process. This affects data integrity and availability but does not impact confidentiality. The attack requires local access with write permissions to the directory containing the files. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict local write permissions on directories where the split utility is used to trusted users only to reduce the risk of exploitation. Avoid running split operations in directories where untrusted users have write access. Monitor vendor channels for updates or patches addressing this TOCTOU vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- canonical
- Date Reserved
- 2026-04-02T12:58:56.088Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e8f7d519fe3cd2cdd00d91
Added to database: 4/22/2026, 4:31:17 PM
Last enriched: 4/22/2026, 4:47:35 PM
Last updated: 4/22/2026, 6:59:28 PM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.