CVE-2026-35364

Publication date 22 April 2026

Last updated 11 November 2026


Ubuntu priority

Cvss 3 Severity Score

6.3 · Medium

Score breakdown

Description

A Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the mv utility of uutils coreutils during cross-device operations. The utility removes the destination path before recreating it through a copy operation. A local attacker with write access to the destination directory can exploit this window to replace the destination with a symbolic link. The subsequent privileged move operation will follow the symlink, allowing the attacker to redirect the write and overwrite an arbitrary target file with contents from the source.

Read the notes from the security team

Status

Package Ubuntu Release Status
rust-coreutils 26.10 stonking
Fixed in 0.9.0-2ubuntu1
26.04 LTS resolute
Fixed in 0.10.0-1ubuntu2~26.04.1
25.10 questing Ignored end of life, was needed
24.04 LTS noble
Vulnerable
22.04 LTS jammy Not in release

Notes


john-breton

Fixed upstream in 0.9.0 by 54877ac4, which makes mv's cross-device fallback create the destination with O_NOFOLLOW instead of fs::copy. 44307945 (PR #12468, 0.10.0) only adds the regression test for issue #10015. Fixed in 0.10.0-1ubuntu2~26.04.1 in resolute-updates (LP: #2166202), but not yet in the -security pocket.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
rust-coreutils

Severity score breakdown

CVSS version: CVSS v3.0

Base score 6.3 · Medium

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-9041-1
    • uutils coreutils vulnerabilities
    • 11 November 2026

Other references


Access our resources on patching vulnerabilities