NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Rust (crates.io)

CVE-2026-35348: uutils coreutils has an Uncaught Exception When Encountering Valid but Non-UTF-8 Paths

mediumCVSS 3.1 5.5GHSA-f2jv-wjjc-2c94

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.

Published Apr 22, 2026 · Updated Apr 29, 2026

Affected packages

coreutils

Ecosystem
Rust (crates.io)
Affected
<= 0.8.0
Fixed in
No patched version yet
Check
cargo tree -i coreutils

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Rust (crates.io) vulnerabilities

All Rust (crates.io) entries