Skip to main content
← All vulnerabilities
CVE-2026-35378GHSA-5PV5-XH52-HVRP

uutils coreutils expr Local Denial of Service via Eager Evaluation of Parenthesized Subexpressions

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.8.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • coreutils

    fixed in 0.8.0

  • coreutilscrates.io

    fixed in 0.8.0

References 2

GitHub · uutils/coreutils