All reports
Medium

uutils coreutils has an Uncaught Exception When Encountering Valid but Non-UTF-8 Paths

Affected versions

Rust / Cargocoreutils
Affected versions
<= 0.8.0
Fixed version
Not reported

Exploitation

CVE-2026-35348

Probability of exploitation in the next 30 days: 0.14%

FIRST EPSS · 2026-11-22

Description

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.

Links