medium

CVE-2026-35347

crates.io · uu_comm • crates.io · coreutils

Summary

comm: FIFO/pipe inputs are drained before comparison (data loss / hang)

Severity
medium
CVSS
4.4
EPSS
0.1% (p3)
CWE
CWE-20
Also known as
GHSA-3wfc-mgpm-9rq6, GHSA-rx8h-33gr-vhj9
Published
2026-07-06
Updated
2026-07-06

Advisory details

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.


Zellic finding 3.35. Reported in the Zellic uutils coreutils Program Security Assessment (for Canonical, Jan 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242.

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.