low

CVE-2026-35343

crates.io · uu_cut • crates.io · coreutils

Summary

cut: -s (only-delimited) ignored when delimiter is a newline

Severity
low
CVSS
3.3
EPSS
0.1% (p3)
CWE
CWE-670
Also known as
GHSA-hj9r-8pfm-rmjj, GHSA-wv33-5pxh-r7j7
Published
2026-07-06
Updated
2026-07-06

Advisory details

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 function, causing the utility to print non-delimited lines that should have been suppressed. This can lead to unexpected data being passed to downstream scripts that rely on strict output filtering.


Zellic finding 3.22. Reported in the Zellic uutils coreutils Program Security Assessment (for Canonical, Jan 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242.

References

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.