Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft file list with non-UTF-8 sequences
-
DeliveryInvoke sort --files0-from with list
-
ExploitTrigger UTF-8 decoding in Rust
-
ExecutionPanic on expect() failure
-
PersistCrash sort process
-
ImpactDisrupt automated pipeline
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
|
| Exploitation Conditions | The --files0-from option must be explicitly used with sort, and the input file list must contain at least one filename with invalid UTF-8 byte sequences. Non-UTF-8 filenames are valid on Unix filesystems (where filenames are byte strings, not Unicode strings) and can occur legitimately from imports, legacy systems, or corrupted filesystem metadata. No special configuration is required beyond invoking sort with this flag; any local user with read access to a file containing such a list can trigger the crash. The vulnerability does NOT occur with default sort usage or with UTF-8-clean filenames. |
| Impact | CVSS 5.5 (AV:L/AC:L/PR:L/UI:N/S:U) reflects local authenticated access with low complexity and high availability impact. SSVC decision framework data (Exploitation: poc, Automatable: no, Technical Impact: partial) provides additional context: a proof-of-concept exists but the attack is not automatable, suggesting it requires deliberate crafting of non-UTF-8 filenames and invocation of sort with --files0-from, and the impact is partial (disruption of a single process rather than system-wide compromise). The combination of low CVSS, non-automatable exploitation, and partial technical impact suggests this is a moderate real-world priority: an attacker with local access could disrupt automated sorting pipelines or batch processing systems, but widespread exploitation is unlikely without deliberate targeting. The requirement for PR:L (low privileges) is notable-any local user can trigger this, increasing risk in multi-tenant or shared systems. However, the need to craft specific non-UTF-8 input and knowledge of the --files0-from flag limits opportunistic exploitation. This is NOT a high-severity issue but IS a reliability concern for systems relying on uutils coreutils in production pipelines. |
| Exploit ScenarioDerived | A system administrator runs an automated backup script that uses uutils sort --files0-from /tmp/file_list to process a list of files. An attacker with local access crafts a file_list containing a null-separated entry with an invalid UTF-8 sequence (e.g., raw bytes 0xFF 0xFE in a filename). When the script invokes sort, the process panics immediately, causing the backup pipeline to fail and alerting operators to a potential breach or malfunction, disrupting availability. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 23, 2026
The sort utility in uutils coreutils crashes with a process panic when the --files0-from option processes inputs containing non-UTF-8 filenames, allowing local authenticated attackers to cause denial of service. Unlike GNU sort, which handles filenames as raw bytes, uutils enforces UTF-8 encoding via expect() calls that immediately panic on invalid sequences. A proof-of-concept exploit exists; SSVC analysis indicates partial technical impact with non-automatable exploitation.
RemediationAI
Upgrade to a patched version of uutils coreutils when available from the upstream project (check https://github.com/uutils/coreutils for releases post-issue #9696). The fix will replace expect() calls with proper error handling (e.g., map_err() or unwrap_or_else()) that gracefully handles non-UTF-8 filenames, aligning behavior with GNU sort's byte-transparent approach. Until patching, avoid using sort --files0-from with untrusted or legacy input containing non-UTF-8 filenames; instead, use GNU coreutils sort (if available on the system) or pre-filter filenames to ensure UTF-8 encoding. A compensating control for automated pipelines is to wrap sort invocations in shell error traps (set -e) combined with iconv or recode to normalize input encodings beforehand, though this adds performance overhead and may alter filename semantics.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in cargo
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The sort utility implements file reading via the --files0-from option, which is designed to read a null-separated list of filenames from an input source. The underlying issue stems from Rust's string handling: uutils converts filesystem paths (which are valid byte sequences on Unix systems, not necessarily UTF-8) into Rust String types using expect() without graceful error handling. When a filename contains invalid UTF-8 sequences-common in legacy systems, international filenames with encoding variations, or corrupted data-the expect() call panics the entire process. This violates CWE-248 (Uncaught Exception), as the exception condition (non-UTF-8 input) is not properly caught or recovered. GNU sort's C implementation treats filenames as raw bytes and handles them transparently, making this a divergence in compatibility and robustness. The vulnerability affects all versions of uutils coreutils that use this pattern in the sort command's --files0-from implementation.
Know when Coreutils gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
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 crash when encountering valid but non-UTF-8 paths. This diverges from GNU sort, which treats filenames as raw bytes. A local attacker can exploit this to crash the utility and disrupt automated pipelines.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
The parse_datetime function in GNU coreutils allows remote attackers to cause a denial of service (crash) or possibly ex
Privilege escalation to root in uutils coreutils chroot utility allows low-privileged local attackers with write access
Local privilege escalation in uutils coreutils before 0.10.0: the `install` utility applies a requested setuid/setgid mo
Recursive chmod operations can bypass --preserve-root protection in uutils coreutils versions prior to 0.6.0, allowing l
Local privilege escalation in uutils coreutils mkfifo allows authenticated users to downgrade permissions on arbitrary f
Privilege escalation in uutils coreutils mkfifo utility allows local attackers with low privileges to manipulate file pe
Bypass of --preserve-root protection in uutils coreutils rm utility allows local users to recursively delete the root fi
The mv utility in uutils coreutils improperly expands symbolic links instead of preserving them during moves across file
The cp utility in uutils coreutils improperly preserves setuid and setgid bits when the chown operation fails during fil
The split utility in uutils coreutils contains a time-of-check to time-of-use (TOCTOU) race condition that allows local
A time-of-check to time-of-use (TOCTOU) race condition in the mv utility of uutils coreutils during cross-device move op
The touch utility in uutils coreutils suffers from a Time-of-Check to Time-of-Use (TOCTOU) race condition that allows lo
EUVD-2026-24980
GHSA-f2jv-wjjc-2c94
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB