Description
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.
Published: 2026-04-22
Score: 3.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: Data Integrity Risk
Action: Patch Now
AI Analysis

Impact

A logic error in the uutils coreutils cut command causes the -s (only-delimited) flag to be ignored when the command is invoked with both the -z (null-terminated) option and an empty delimiter with -d ''. The code wrongly routes this specific flag combination through a newline‑delimiter code path that does not honour the record‑suppression setting. As a result, cut emits the full record followed by a NUL byte instead of discarding undelimited data, diverging from the behavior of the GNU coreutils implementation. This behavior introduces a data‑integrity risk for automated pipelines that depend on cut -s to filter out malformed or undelimited input, potentially causing downstream errors or security misconfigurations. The weakness is a logic flaw (CWE‑684).

Affected Systems

The uutils coreutils suite, specifically the cut utility, is affected. All releases prior to the 0.8.0 tag, which contains the fix, are vulnerable. The issue is triggered only when the command is invoked with the -z option, an empty delimiter via -d '', and the -s flag simultaneously. Users should audit any scripts or pipelines that employ this flag combination to determine whether they are running a vulnerable version.

Risk and Exploitability

The CVSS score of 3.3 indicates a low severity vulnerability. The EPSS score is less than 1%, suggesting a very low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attack vector is local execution, requiring the attacker to run the cut command within a target system that trusts its output. Exploitation would involve supplying crafted input to a pipeline that incorporates cut's output. While remote code execution is not possible, the data‑integrity breach could lead to downstream operational failures or subtle security misconfigurations in automated ingestion processes.

Generated by OpenCVE AI on April 28, 2026 at 07:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade uutils coreutils to version 0.8.0 or later where the bug is fixed.
  • Avoid using the -z option together with -d '' and -s in cut commands; refrain from employing the flagged combination in any scripts.
  • If upgrading is not immediately possible, modify pipelines to validate cut output or filter out unexpected NUL bytes before further processing.

Generated by OpenCVE AI on April 28, 2026 at 07:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-532v-xp3f-837c uutils coreutils has an Incorrect Provision of Specified Functionality Issue in its cut Utility
History

Fri, 24 Apr 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Uutils
Uutils coreutils
CPEs cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*
Vendors & Products Uutils
Uutils coreutils

Wed, 22 Apr 2026 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 22 Apr 2026 16:30:00 +0000

Type Values Removed Values Added
Description 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.
Title uutils coreutils cut Local Logic Error and Data Integrity Issue in Output Filtering
Weaknesses CWE-684
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}


Subscriptions

Uutils Coreutils
cve-icon MITRE

Status: PUBLISHED

Assigner: canonical

Published:

Updated: 2026-04-22T16:53:09.992Z

Reserved: 2026-04-02T12:58:56.089Z

Link: CVE-2026-35381

cve-icon Vulnrichment

Updated: 2026-04-22T16:52:56.699Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-22T17:16:43.200

Modified: 2026-04-24T19:19:34.493

Link: CVE-2026-35381

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-28T08:00:14Z

Weaknesses