CVE-2026-35347

uutils coreutils comm Silent Data Loss or Denial of Service via Improper Input Validation

Published Apr 22, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
The comm utility in uutils coreutils incorrectly consumes data from non-regular file inputs before performing comparison operations. The are_files_identical function opens and reads from both input paths to compare content without first verifying if the paths refer to regular files. If an input path is a FIFO or a pipe, this pre-read operation drains the stream, leading to silent data loss before the actual comparison logic is executed. Additionally, the utility may hang indefinitely if it attempts to pre-read from infinite streams like /dev/zero.

Analysis

AI-generated

Technical impact

The comm utility in uutils coreutils performs a pre‑read on both input paths by calling are_files_identical without first verifying that the paths refer to regular files. If one of the inputs is a FIFO, pipe, or another non‑regular stream, this initial read drains the data that would otherwise be compared, causing silent data loss. Additionally, the utility may block indefinitely when it attempts to pre‑read from infinite streams such as /dev/zero, resulting in a denial of service. The flaw is a classic fail‑safety oversight (CWE‑20).

Affected Systems

Uutils coreutils, specifically the comm command. All releases before the fix present in the 0.6.0 release are vulnerable. Users should upgrade to version 0.6.0 or later to eliminate the pre‑read logic, or use an alternative that does not accept non‑regular file inputs for comparison.

Risk and Exploitability

The CVSS score of 4.4 indicates low severity. No EPSS value is available, and the vulnerability is not listed in the CISA KEV catalog, suggesting limited or no public exploitation. The vulnerability can be triggered only when a local user supplies a non‑regular file descriptor—such as a FIFO or pipe—to the comm command. Because the attacker must have local access or the ability to provide such streams, the overall risk remains moderate and is confined to accidental data loss or service interruption within the affected environment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade uutils coreutils to version 0.6.0 or later, which removes the pre‑read on non‑regular files
  • Avoid piping or redirecting non‑regular streams into the comm command; use regular files instead for comparison
  • If an immediate upgrade is not possible, redirect the comm input through a temporary regular file (e.g., use cat > tmpfile; comm tmpfile /path/to/otherfile) to prevent data drain

Generated by OpenCVE AI on April 27, 2026 at 08:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-rx8h-33gr-vhj9 uutils coreutils' comm utility incorrectly consumes data from non-regular file inputs before performing comparison operations
Github GHSA Github GHSA GHSA-3wfc-mgpm-9rq6 comm: FIFO/pipe inputs are drained before comparison (data loss / hang)
History
Type Values Removed Values Added
First Time appeared Uutils
Uutils coreutils
CPEs cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*
Vendors & Products Uutils
Uutils coreutils
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description The comm utility in uutils coreutils incorrectly consumes data from non-regular file inputs before performing comparison operations. The are_files_identical function opens and reads from both input paths to compare content without first verifying if the paths refer to regular files. If an input path is a FIFO or a pipe, this pre-read operation drains the stream, leading to silent data loss before the actual comparison logic is executed. Additionally, the utility may hang indefinitely if it attempts to pre-read from infinite streams like /dev/zero.
Title uutils coreutils comm Silent Data Loss or Denial of Service via Improper Input Validation
Weaknesses CWE-20
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Apr 22, 2026, 6:11 PM
Reserved
Apr 2, 2026, 12:58 PM
Status
Analyzed
Published
Apr 22, 2026, 5:16 PM
Modified
Oct 26, 2026, 9:10 PM