GitHub Advisoryadvisory · crates.io

GHSA-m2pg-c7m6-77pj uutils coreutils has an Improper Input Validation Issue in its cut Utility

MEDIUM Published 2026-04-22 Modified 2026-04-30 Official page ↗
Aliases
CVE-2026-35380
Ecosystem
crates.io
Packages
coreutils
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-20
Reviewed
2026-04-30

Affected packages

• crates.io coreutils: < 0.8.0 → fixed in 0.8.0

Description

A logic error in the cut utility of uutils coreutils causes the program to incorrectly interpret the literal two-byte string '' (two single quotes) as an empty delimiter. The implementation mistakenly maps this string to the NUL character for both the -d (delimiter) and --output-delimiter options. This vulnerability can lead to silent data corruption or logic errors in automated scripts and data pipelines that process strings containing these characters, as the utility may unintentionally split or join data on NUL bytes rather than the intended literal characters.

Related

Alias · CVE (1)

  • CVE-2026-35380 A logic error in the cut utility of uutils coreutils causes the program to incorrectly interpret the literal two-byte string '' (two single… vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References