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

CVE-2026-35381: uutils coreutils has an Incorrect Provision of Specified Functionality Issue in its cut Utility

April 22, 2026 (updated April 30, 2026)

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

  • github.com/advisories/GHSA-532v-xp3f-837c
  • github.com/uutils/coreutils
  • github.com/uutils/coreutils/commit/483f13e91830c468262aa1e010e753d6ae99c898
  • github.com/uutils/coreutils/pull/11394
  • github.com/uutils/coreutils/releases/tag/0.8.0
  • 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.8.0

Fixed versions

  • 0.8.0

Solution

Upgrade to version 0.8.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/coreutils/CVE-2026-35381.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 12:18:42 +0000.