Advisory

GHSA-wv33-5pxh-r7j7

Also known as: CVE-2026-35343

Summary

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

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._

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-07-06 19:54 UTC
Modified
2026-07-06 20:11 UTC

Affected packages and fixes

uu_cut

crates.io · All systems

Affected

  • introduced 0, fixed 0.7.0 (semver)

Fixed versions

0.7.0

Fix

  • Fixed version 0.7.0
    cargo update -p uu_cut --precise 0.7.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences