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 '' (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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*

History

No history.

Information

Published : 2026-04-22 17:16

Updated : 2026-06-17 10:40


NVD link : CVE-2026-35381

Mitre link : CVE-2026-35381

CVE.ORG link : CVE-2026-35381


JSON object : View

Products Affected

uutils

  • coreutils
CWE
CWE-684

Incorrect Provision of Specified Functionality