UBUNTU-CVE-2026-35374: Medium severity ubuntu/rust-coreutils vulnerability

Published Apr 22, 2026
·
Updated

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.

Affected Software

4 affected componentsFixes available
ubuntu/rust-coreutils*
ubuntu/rust-coreutils*
ubuntu/rust-coreutils<0.10.0-1ubuntu1
0.10.0-1ubuntu1
ubuntu/rust-coreutils*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/rust-coreutils to a version that resolves this vulnerability.

    Fixed in 0.10.0-1ubuntu1

Event History

Apr 22, 2026
CVE Published
via OSV·05:16 PM
Data Sourced
via OSV·05:16 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Systems are exposed when they run the split utility from Ubuntu's rust-coreutils package on files in directories writable by a local attacker. The attacker must be able to manipulate mutable path components involved in the input or output path.

2

What does an attacker need to exploit it?

Exploitation requires local access, low privileges, and write access to the relevant directory. The attacker must win a race after split validates the input and output paths but before it opens the output file for truncation.

3

What is the likely impact if exploitation succeeds?

The attacker can redirect output handling to an unintended file that the split process can access. This can permanently truncate or overwrite the input file or another sensitive accessible file, affecting integrity and availability.

4

What can be done if patching is not immediately possible?

Avoid running split with input or output paths whose directories are writable by untrusted local users. Use directories with controlled ownership and permissions, and avoid mutable path components such as attacker-controlled symbolic links.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203