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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/uutils/coreutils/pull/9545 Issue Tracking, Patch
- https://github.com/uutils/coreutils/pull/9545 Issue Tracking, Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 4.4 · uutilsNVD modified 2026-10-26 21:10
Affected (CPE criteria) 1
cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*
References 3
- https://github.com/uutils/coreutils/pull/9545 Issue Tracking, Patch
- https://github.com/uutils/coreutils/releases/tag/0.6.0 Release Notes
- https://github.com/uutils/coreutils/pull/9545 Issue Tracking, Patch