CVE-2026-35347

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*

History

No history.

Information

Published : 2026-04-22 17:16

Updated : 2026-06-17 10:40


NVD link : CVE-2026-35347

Mitre link : CVE-2026-35347

CVE.ORG link : CVE-2026-35347


JSON object : View

Products Affected

uutils

  • coreutils
CWE
CWE-20

Improper Input Validation