coreutils
crates.io44 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting coreutilspage 1 of 1
- CVE-2026-35338HIGHCVSS 7.3EG 7.3✓ Fixed in 0.6.02026-04-22
A vulnerability in the chmod utility of uutils coreutils allows users to bypass the --preserve-root safety mechanism. The implementation only validates if the target path is literally / and does not canonicalize the path. An attacker or ac…
- CVE-2026-35339MEDIUMCVSS 5.5EG 5.5✓ Fixed in 0.6.02026-04-22
The recursive mode (-R) of the chmod utility in uutils coreutils incorrectly handles exit codes when processing multiple files. The final return value is determined solely by the success or failure of the last file processed. This allows t…
- CVE-2026-35340MEDIUMCVSS 5.5EG 5.5✓ Fixed in 0.6.02026-04-22
A flaw in the ChownExecutor used by uutils coreutils chown and chgrp causes the utilities to return an incorrect exit code during recursive operations. The final exit code is determined only by the last file processed. If the last operatio…
- CVE-2026-35341HIGHCVSS 7.1EG 7.12026-04-22
A vulnerability in uutils coreutils mkfifo allows for the unauthorized modification of permissions on existing files. When mkfifo fails to create a FIFO because a file already exists at the target path, it fails to terminate the operation …
- CVE-2026-35342LOWCVSS 3.3EG 3.3✓ Fixed in 0.6.02026-04-22
The mktemp utility in uutils coreutils fails to properly handle an empty TMPDIR environment variable. Unlike GNU mktemp, which falls back to /tmp when TMPDIR is an empty string, the uutils implementation treats the empty string as a valid …
- CVE-2026-35343LOWCVSS 3.3EG 3.3✓ Fixed in 0.7.02026-04-22
The cut utility in uutils coreutils incorrectly handles the -s (only-delimited) option when a newline character is specified as the delimiter. The implementation fails to verify the only_delimited flag in the cut_fields_newline_char_delim …
- CVE-2026-35344LOWCVSS 3.3EG 3.32026-04-22
The dd utility in uutils coreutils suppresses errors during file truncation operations by unconditionally calling Result::ok() on truncation attempts. While intended to mimic GNU behavior for special files like /dev/null, the uutils implem…
- CVE-2026-35345MEDIUMCVSS 5.3EG 5.32026-04-22
A vulnerability in the tail utility of uutils coreutils allows for the exfiltration of sensitive file contents when using the --follow=name option. Unlike GNU tail, the uutils implementation continues to monitor a path after it has been re…
- CVE-2026-35346LOWCVSS 3.3EG 3.3✓ Fixed in 0.6.02026-04-22
The comm utility in uutils coreutils silently corrupts data by performing lossy UTF-8 conversion on all output lines. The implementation uses String::from_utf8_lossy(), which replaces invalid UTF-8 byte sequences with the Unicode replaceme…
- CVE-2026-35347MEDIUMCVSS 4.4EG 4.4✓ Fixed in 0.6.02026-04-22
The comm utility in uutils coreutils incorrectly consumes data from non-regular file inputs before performing comparison operations. The are_files_identical function opens and reads from both input paths to compare content without first ve…
- CVE-2026-35348MEDIUMCVSS 5.5EG 5.52026-04-22
The sort utility in uutils coreutils is vulnerable to a process panic when using the --files0-from option with inputs containing non-UTF-8 filenames. The implementation enforces UTF-8 encoding and utilizes expect(), causing an immediate cr…
- CVE-2026-35349MEDIUMCVSS 6.7EG 6.7✓ Fixed in 0.7.02026-04-22
A vulnerability in the rm utility of uutils coreutils allows a bypass of the --preserve-root protection. The implementation uses a path-string check rather than comparing device and inode numbers to identify the root directory. An attacker…
- CVE-2026-35350MEDIUMCVSS 6.6EG 6.62026-04-22
The cp utility in uutils coreutils fails to properly handle setuid and setgid bits when ownership preservation fails. When copying with the -p (preserve) flag, the utility applies the source mode bits even if the chown operation is unsucce…
- CVE-2026-35351MEDIUMCVSS 4.2EG 4.22026-04-22
The mv utility in uutils coreutils fails to preserve file ownership during moves across different filesystem boundaries. The utility falls back to a copy-and-delete routine that creates the destination file using the caller's UID/GID rathe…
- CVE-2026-35352HIGHCVSS 7.0EG 7.02026-04-22
A Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the mkfifo utility of uutils coreutils. The utility creates a FIFO and then performs a path-based chmod to set permissions. A local attacker with write access to the parent d…
- CVE-2026-35353LOWCVSS 3.3EG 3.3✓ Fixed in 0.6.02026-04-22
The mkdir utility in uutils coreutils incorrectly applies permissions when using the -m flag by creating a directory with umask-derived permissions (typically 0755) before subsequently changing them to the requested mode via a separate chm…
- CVE-2026-35354MEDIUMCVSS 4.7EG 4.72026-04-22
A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the mv utility of uutils coreutils during cross-device moves. The extended attribute (xattr) preservation logic uses multiple path-based system calls that perform fresh path-t…
- CVE-2026-35355MEDIUMCVSS 6.3EG 6.3✓ Fixed in 0.6.02026-04-22
The install utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file installation. The implementation unlinks an existing destination file and then recreates it using a path-based oper…
- CVE-2026-35356MEDIUMCVSS 6.3EG 6.3✓ Fixed in 0.7.02026-04-22
A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the install utility of uutils coreutils when using the -D flag. The command creates parent directories and subsequently performs a second path resolution to create the target …
- CVE-2026-35357MEDIUMCVSS 4.7EG 4.72026-04-22
The cp utility in uutils coreutils is vulnerable to an information disclosure race condition. Destination files are initially created with umask-derived permissions (e.g., 0644) before being restricted to their final mode (e.g., 0600) late…
- CVE-2026-35358MEDIUMCVSS 4.4EG 4.4✓ Fixed in 0.7.02026-04-22
The cp utility in uutils coreutils, when performing recursive copies (-R), incorrectly treats character and block device nodes as stream sources rather than preserving them. Because the implementation reads bytes into regular files at the …
- CVE-2026-35359MEDIUMCVSS 4.7EG 4.72026-04-22
A Time-of-Check to Time-of-Use (TOCTOU) vulnerability in the cp utility of uutils coreutils allows an attacker to bypass no-dereference intent. The utility checks if a source path is a symbolic link using path-based metadata but subsequent…
- CVE-2026-35360MEDIUMCVSS 6.3EG 6.32026-04-22
The touch utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file creation. When the utility identifies a missing path, it later attempts creation using File::create(), which internal…
- CVE-2026-35361LOWCVSS 3.4EG 3.4✓ Fixed in 0.6.02026-04-22
The mknod utility in uutils coreutils fails to handle security labels atomically by creating device nodes before setting the SELinux context. If labeling fails, the utility attempts cleanup using std::fs::remove_dir, which cannot remove de…
- CVE-2026-35362LOWCVSS 3.6EG 3.6✓ Fixed in 0.6.02026-04-22
The safe_traversal module in uutils coreutils, which provides protection against Time-of-Check to Time-of-Use (TOCTOU) symlink races using file-descriptor-relative syscalls, is incorrectly limited to Linux targets. On other Unix-like syste…
- CVE-2026-35363MEDIUMCVSS 5.6EG 5.62026-04-22
A vulnerability in the rm utility of uutils coreutils allows the bypass of safeguard mechanisms intended to protect the current directory. While the utility correctly refuses to delete . or .., it fails to recognize equivalent paths with t…
- CVE-2026-35364MEDIUMCVSS 6.3EG 6.32026-04-22
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 wi…
- CVE-2026-35365MEDIUMCVSS 6.6EG 6.6✓ Fixed in 0.7.02026-04-22
The mv utility in uutils coreutils improperly handles directory trees containing symbolic links during moves across filesystem boundaries. Instead of preserving symlinks, the implementation expands them, copying the linked targets as real …
- CVE-2026-35366MEDIUMCVSS 4.4EG 4.4✓ Fixed in 0.6.02026-04-22
The printenv utility in uutils coreutils fails to display environment variables containing invalid UTF-8 byte sequences. While POSIX permits arbitrary bytes in environment strings, the uutils implementation silently skips these entries rat…
- CVE-2026-35367LOWCVSS 3.3EG 3.32026-04-22
The nohup utility in uutils coreutils creates its default output file, nohup.out, without specifying explicit restricted permissions. This causes the file to inherit umask-based permissions, typically resulting in a world-readable file (06…
- CVE-2026-35368HIGHCVSS 7.8EG 7.82026-04-22
A vulnerability exists in the chroot utility of uutils coreutils when using the --userspec option. The utility resolves the user specification via getpwnam() after entering the chroot but before dropping root privileges. On glibc-based sys…
- CVE-2026-35369MEDIUMCVSS 5.5EG 5.5✓ Fixed in 0.6.02026-04-22
An argument parsing error in the kill utility of uutils coreutils incorrectly interprets kill -1 as a request to send the default signal (SIGTERM) to PID -1. Sending a signal to PID -1 causes the kernel to terminate all processes visible t…
- CVE-2026-35370MEDIUMCVSS 4.4EG 4.42026-04-22
The id utility in uutils coreutils miscalculates the groups= section of its output. The implementation uses a user's real GID instead of their effective GID to compute the group list, leading to potentially divergent output compared to GNU…
- CVE-2026-35371LOWCVSS 3.3EG 3.32026-04-22
The id utility in uutils coreutils exhibits incorrect behavior in its "pretty print" output when the real UID and effective UID differ. The implementation incorrectly uses the effective GID instead of the effective UID when performing a na…
- CVE-2026-35372MEDIUMCVSS 5.0EG 5.0✓ Fixed in 0.8.02026-04-22
A logic error in the ln utility of uutils coreutils allows the utility to dereference a symbolic link target even when the --no-dereference (or -n) flag is explicitly provided. The implementation previously only honored the "no-dereference…
- CVE-2026-35373LOWCVSS 3.3EG 3.32026-04-22
A logic error in the ln utility of uutils coreutils causes the program to reject source paths containing non-UTF-8 filename bytes when using target-directory forms (e.g., ln SOURCE... DIRECTORY). While GNU ln treats filenames as raw bytes …
- CVE-2026-35374MEDIUMCVSS 6.3EG 6.32026-04-22
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 initiati…
- CVE-2026-35375LOWCVSS 3.3EG 3.3✓ Fixed in 0.8.02026-04-22
A logic error in the split utility of uutils coreutils causes the corruption of output filenames when provided with non-UTF-8 prefix or suffix inputs. The implementation utilizes to_string_lossy() when constructing chunk filenames, which a…
- CVE-2026-35376MEDIUMCVSS 4.5EG 4.52026-04-22
A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the chcon utility of uutils coreutils during recursive operations. The implementation resolves recursive targets using a fresh path lookup (via fts_accpath) rather than bindin…
- CVE-2026-35377LOWCVSS 3.3EG 3.32026-04-22
A logic error in the env utility of uutils coreutils causes a failure to correctly parse command-line arguments when utilizing the -S (split-string) option. In GNU env, backslashes within single quotes are treated literally (with the excep…
- CVE-2026-35378LOWCVSS 3.3EG 3.3✓ Fixed in 0.8.02026-04-22
A logic error in the expr utility of uutils coreutils causes the program to evaluate parenthesized subexpressions during the parsing phase rather than at the execution phase. This implementation flaw prevents the utility from performing pr…
- CVE-2026-35379LOWCVSS 3.3EG 3.3✓ Fixed in 0.8.02026-04-22
A logic error in the tr utility of uutils coreutils causes the program to incorrectly define the [:graph:] and [:print:] character classes. The implementation mistakenly includes the ASCII space character (0x20) in the [:graph:] class and …
- CVE-2026-35380MEDIUMCVSS 5.5EG 5.5✓ Fixed in 0.8.02026-04-22
A logic error in the cut utility of uutils coreutils causes the program to incorrectly interpret the literal two-byte string '' (two single quotes) as an empty delimiter. The implementation mistakenly maps this string to the NUL character …
- CVE-2026-35381LOWCVSS 3.3EG 3.3✓ Fixed in 0.8.02026-04-22
A logic error in the cut utility of uutils coreutils causes the utility to ignore the -s (only-delimited) flag when using the -z (null-terminated) and -d '' (empty delimiter) options together. The implementation incorrectly routes this spe…
Check whether coreutils is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for coreutils CVEs against the assets you own.
Start Free Scan →