CVE-2026-35378 Details
Description
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.
A logic error has been identified in the expr utility of uutils coreutils, specifically in version 0.8.0. The vulnerability arises because the program evaluates parenthesized subexpressions during the parsing phase instead of the execution phase. This flaw disrupts proper short-circuiting for logical OR and AND operations, causing arithmetic errors, such as division by zero, in 'dead' branches to be treated as fatal errors. This behavior deviates from GNU expr standards, potentially causing shell scripts to terminate prematurely instead of returning the expected boolean values.
Users can upgrade to uutils coreutils version 0.8.0 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/uutils/coreutils/pull/11395 | [email protected] | ExploitIssue TrackingPatch |
| https://github.com/uutils/coreutils/releases/tag/0.8.0 | [email protected] | Release Notes |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-768 | Incorrect Short Circuit Evaluation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| uutils coreutils | < 0.8.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 4, 2026 | Initial Analysis | [email protected] |
| Apr 22, 2026 | New CVE Received | [email protected] |