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.
Published: 2026-04-22
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Silent Data Loss and Denial of Service
Action: Upgrade
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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
History

Mon, 27 Apr 2026 12: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 19: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 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'}


Subscriptions

Uutils Coreutils
cve-icon MITRE

Status: PUBLISHED

Assigner: canonical

Published:

Updated: 2026-04-22T18:11:31.441Z

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

Link: CVE-2026-35347

cve-icon Vulnrichment

Updated: 2026-04-22T18:11:08.791Z

cve-icon NVD

Status : Analyzed

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

Modified: 2026-04-27T12:28:23.273

Link: CVE-2026-35347

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-27T19:54:38Z

Weaknesses