CVE-2026-35378
uutils coreutils expr Local Denial of Service via Eager Evaluation of Parenthesized Subexpressions
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.
INFO
Published Date :
April 22, 2026, 5:16 p.m.
Last Modified :
May 4, 2026, 6:48 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | LOW | cc1ad9ee-3454-478d-9317-d3e869d708bc | ||||
| CVSS 3.1 | LOW | [email protected] |
Solution
- Update the expr utility to the latest version.
- Review and correct script logic using expr.
- Test scripts for correct boolean evaluation.
- Consider alternative shell arithmetic evaluation.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-35378.
| URL | Resource |
|---|---|
| https://github.com/uutils/coreutils/pull/11395 | Exploit Issue Tracking Patch |
| https://github.com/uutils/coreutils/releases/tag/0.8.0 | Release Notes |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-35378 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-35378
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-35378 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-35378 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
May. 04, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:* versions up to (excluding) 0.8.0 Added Reference Type Canonical Ltd.: https://github.com/uutils/coreutils/pull/11395 Types: Exploit, Issue Tracking, Patch Added Reference Type Canonical Ltd.: https://github.com/uutils/coreutils/releases/tag/0.8.0 Types: Release Notes -
New CVE Received by [email protected]
Apr. 22, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L Added CWE CWE-768 Added Reference https://github.com/uutils/coreutils/pull/11395 Added Reference https://github.com/uutils/coreutils/releases/tag/0.8.0