Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. uu_cut
  4. ›
  5. CVE-2026-35381

CVE-2026-35381: cut: -s ignored in -z -d '' newline-delimiter mode

July 6, 2026

cut routes -z -d '' through a special newline-delimiter path that ignores the -s only-delimited flag, emitting whole undelimited records (plus NUL) that should be suppressed. Pipelines relying on cut -s to drop undelimited records process data that should be filtered.

printf 'abc' | cut -z -d '' -s -f 1 | od -An -tx1   # GNU: no output ; uutils: 61 62 63 00

Zellic private finding (zellic-ext/coreutils-private PR #102). Reported in the Zellic uutils coreutils Program Security Assessment (for Canonical, Jan 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242.

References

  • github.com/advisories/GHSA-pmfc-4wjj-gmhx
  • github.com/uutils/coreutils/commit/483f13e91830c468262aa1e010e753d6ae99c898
  • github.com/uutils/coreutils/pull/11394
  • github.com/uutils/coreutils/releases/tag/0.8.0
  • github.com/uutils/coreutils/security/advisories/GHSA-pmfc-4wjj-gmhx
  • nvd.nist.gov/vuln/detail/CVE-2026-35381

Code Behaviors & Features

Detect and mitigate CVE-2026-35381 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.7.0

Fixed versions

  • 0.7.0

Solution

Upgrade to version 0.7.0 or above.

Impact 3.3 LOW

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-684: Incorrect Provision of Specified Functionality

Source file

cargo/uu_cut/CVE-2026-35381.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 13 Jul 2026 00:18:38 +0000.