CVE-2026-35378: uutils coreutils - Logic Error
- Cve: CVE-2026-35378
- Name: uutils coreutils - Logic Error
- 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.
- Impact: Premature script termination and broken shell control flow due to fatal errors in guarded expressions.
- Remediation: Update to the latest version of uutils coreutils where this logic error is fixed.
- Vulnerability type: logic_error
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: low
- Cvss score: 3.3
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- Epss score: 0.00162
- Epss percentile: 0.05403
- Assignee: [email protected]
- Published at: 2026-04-22T17:16:42Z
- Age in days: 216
- Modified at: 2026-10-26T22:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-35378
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-768 | Incorrect Short Circuit Evaluation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/uutils/coreutils/pull/11395 | nvd | 2026-04-22 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/uutils/coreutils/pull/11395 | nvd | Exploit, Issue Tracking, Patch |
| https://github.com/uutils/coreutils/releases/tag/0.8.0 | nvd | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| uutils:coreutils | < 0.8.0 | no | nvd | /v1/products/uutils/coreutils |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| uutils/coreutils | commit, package, pull, releases | yes | /v1/repositories/uutils/coreutils |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-04-22
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts