ADVISORIES

Vulnerability

CVE-2026-35378

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.

3 advisories report this vulnerability, across 3 ecosystems.

Low severity All Debian 1Ubuntu 1crates.io 1

Advisories

  • DEBIAN-CVE-2026-35378

    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…

    CVE-2026-35378 Debian Updated 27 October 2026
  • GHSA-5pv5-xh52-hvrp

    uutils coreutils has an Incorrect Short Circuit Evaluation Issue

    Low CVE-2026-35378 crates.io Updated 5 May 2026
  • UBUNTU-CVE-2026-35378

    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…

    CVE-2026-35378 Ubuntu Updated 14 May 2026

References