---
id: CVE-2026-35343
aliases:
  - GHSA-wv33-5pxh-r7j7
title: 'cut: -s (only-delimited) ignored when delimiter is a newline'
summary: 'cut: -s (only-delimited) ignored when delimiter is a newline'
severity: low
cvss: 3.3
cwe:
  - CWE-670
vendor: uu_cut
product: uu_cut
ecosystem: rust
affected:
  - uu_cut < 0.7.0
patched:
  - uu_cut 0.7.0
published: '2026-07-06'
updated: '2026-07-06'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-wv33-5pxh-r7j7'
references:
  - url: >-
      https://github.com/uutils/coreutils/security/advisories/GHSA-wv33-5pxh-r7j7
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-35343'
  - url: 'https://github.com/uutils/coreutils/pull/11143'
  - url: >-
      https://github.com/uutils/coreutils/commit/9bbb58b746c41802278b0cba738eebbf21517cf7
  - url: 'https://github.com/uutils/coreutils/releases/tag/0.7.0'
  - url: 'https://github.com/advisories/GHSA-wv33-5pxh-r7j7'
tags:
  - ghsa
  - rust
epss: 0.00135
epssPercentile: 0.03357
ingestedAt: '2026-07-06T20:46:12.687Z'
---

## Overview

The cut utility in uutils coreutils incorrectly handles the -s (only-delimited) option when a newline character is specified as the delimiter. The implementation fails to verify the only_delimited flag in the cut_fields_newline_char_delim function, causing the utility to print non-delimited lines that should have been suppressed. This can lead to unexpected data being passed to downstream scripts that rely on strict output filtering.

---
_Zellic finding 3.22. Reported in the Zellic *uutils coreutils Program Security Assessment* (for Canonical, Jan 2026), audited commit `3a07ffc5a9bd4c283e75afa548ba1f1957bad242`._

## Affected packages

- `uu_cut < 0.7.0`

## Remediation

Upgrade to a patched release:

- `uu_cut 0.7.0`
