CVE-2026-35381
A logic error in the cut utility of uutils coreutils causes the utility to ignore the -s (only-delimited) flag when using the -z (null-terminated) and -d '' (e…
Impact
A logic error in the cut utility of uutils coreutils causes the utility to ignore the -s (only-delimited) flag when using the -z (null-terminated) and -d '' (empty delimiter) options together. The implementation incorrectly routes this specific combination through a specialized newline-delimiter code path that fails to check the record suppression status. Consequently, uutils cut emits the entire record plus a NUL byte instead of suppressing it. This divergence from GNU coreutils behavior creates a data integrity risk for automated pipelines that rely on cut -s to filter out undelimited data.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | uu_cut | < 0.8.0 | 0.8.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Uutils | Coreutils | before 0.8.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-pmfc-4wjj-gmhx
- https://github.com/uutils/coreutils/security/advisories/GHSA-pmfc-4wjj-gmhx
- https://nvd.nist.gov/vuln/detail/CVE-2026-35381
- https://github.com/uutils/coreutils/pull/11394
- https://github.com/uutils/coreutils/commit/483f13e91830c468262aa1e010e753d6ae99c898
- https://github.com/uutils/coreutils/releases/tag/0.8.0