Vulnerability in Uutils Coreutils
CVE-2026-35378
A logic error in the expr utility of uutils coreutils causes the program to evaluate parenthesized subexpressions during the parsing phase rather than at the execution phase. This implementation flaw prevents the utility from performing proper short-circuiting for logical OR (|) and AND (&) operations. As a result, arithmetic errors (such as division by zero) occurring within "dead" branches, branches that should be ignored due to short-circuiting, are raised as fatal errors. This divergence from GNU expr behavior can cause guarded expressions within shell scripts to fail with hard errors instead of returning expected boolean results, leading to premature script termination and breaking GNU-compatible shell control flow.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.002, 4.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Uutils Coreutils — versions 0
Weakness classification (CWE)
References
- github.com/uutils/coreutils/pull/11395 (issue-tracking, Exploit, Patch, patch, Issue Tracking)
- github.com/uutils/coreutils/releases/tag/0.8.0 (vendor-advisory, Release Notes)