# CVE-2026-35378: uutils coreutils has an Incorrect Short Circuit Evaluation Issue

Source: https://junglewise.ai/threats/cve-2026-35378-uutils-coreutils-has-an-incorrect-short-circuit-evaluation-issue  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-22  
License: CC BY 4.0 with a link back

CVE-2026-35378 · Severity: low · CVSS 3.3 · Published 2026-04-22

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.

Technologies: [coreutils (crates.io)](https://junglewise.ai/threats/technologies/crates-io-coreutils), [Uutils Coreutils](https://junglewise.ai/threats/technologies/uutils-coreutils). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io), [Uutils](https://junglewise.ai/threats/vendors/uutils).

## Quick answers

**Is CVE-2026-35378 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-35378 being exploited in the wild.

**How severe is CVE-2026-35378?** Low severity, with a CVSS score of 3.3, published 22 April 2026.

**Which products and versions are affected?** coreutils (crates.io) SEMVER:introduced=0,fixed=0.8.0.

**Is there a fix for CVE-2026-35378?** Yes. coreutils (crates.io): upgrade to 0.8.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-35378?** Check whether you run coreutils (crates.io) or Uutils Coreutils at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- coreutils (crates.io): upgrade to 0.8.0 or later

  ```sh
  cargo update -p coreutils
  ```


## Affected products

- coreutils (crates.io) SEMVER:introduced=0,fixed=0.8.0
- Uutils Coreutils

## Identifiers

- CVE-2026-35378
- GHSA-5pv5-xh52-hvrp

## Related threats

- [uutils coreutils Incorrect Provision of Specified Functionality in cut](https://junglewise.ai/threats/cve-2026-35381-uutils-coreutils-incorrect-provision-of-specified-functionality)
- [uutils coreutils has an Improper Input Validation Issue in its cut Utility](https://junglewise.ai/threats/cve-2026-35380-uutils-coreutils-has-an-improper-input-validation-issue-in-its)
- [A logic error in the tr utility of uutils coreutils causes the program to incorrectly define the [:graph:] and [:print:] character classes.](https://junglewise.ai/threats/cve-2026-35379-uutils-coreutils-has-an-incorrect-provision-of-specified)
- [uutils coreutils has an Improper Input Validation Issue in its env Utility](https://junglewise.ai/threats/cve-2026-35377-uutils-coreutils-has-an-improper-input-validation-issue-in-its)
- [uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition](https://junglewise.ai/threats/cve-2026-35376-uutils-coreutils-has-a-time-of-check-time-of-use-toctou-race)
