CVE-2026-35378 json
uutils coreutils expr Local Denial of Service via Eager Evaluation of Parenthesized Subexpressions
published 6mo ago modified 14d ago also GHSA-5pv5-xh52-hvrp , EUVD-2026-25032
- cvss
- 3.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 4%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io coreutils 0.8.0
- Uutils coreutils 0.8.0
- rust-coreutils Debian 14 0.8.0-1
debian advisories DEBIAN-CVE-2026-35378
- github.com/uutils/coreutils@76b2f78 commit
- github.com/uutils/coreutils#11395 pull request
- github.com/uutils/coreutils/releases/tag/0.8.0 release
Is CVE-2026-35378 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-35378 updated cvss 5.5
rust-coreutils: uutils coreutils expr: Denial of Service due to logic error in short-circuiting
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6mo ago
Exploit prediction
0.16% chance of exploitation in the next 30 days, higher than 4% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/uutils/coreutils/pull/11395 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | coreutils | <0.8.0 |
0.8.0 |
Affected products
- Uutils coreutils
Classification
- Weakness
-
- CWE-768 Incorrect Short Circuit Evaluation
References
-
github.com
/uutils/coreutils/pull/11395
issue-tracking, patch, web, exploit
-
github.com
/uutils/coreutils/commit/76b2f7877f558f3bfa78e3d4f49f022460f509b7
web
-
github.com
/uutils/coreutils/releases/tag/0.8.0
vendor-advisory, web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-35378
advisory
-
github.com
/uutils/coreutils
package
Sources
- CVE List CVE-2026-35378
- GitHub Advisory GHSA-5pv5-xh52-hvrp
- NVD CVE-2026-35378
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.