Vulnerability · Published Apr 22, 2026 · Assigned by canonical

CVE-2026-35378uutils coreutils expr Local Denial of Service via Eager Evaluation of Parenthesized Subexpressions

Low 3.3

In plain English

A low-severity security flaw in coreutils from Uutils. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.3Low
Exploit odds (30 days)0.2%top 95.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12rust-coreutilsno fix listedDEBIAN-CVE-2026-35378
Debian:13rust-coreutilsno fix listedDEBIAN-CVE-2026-35378
Debian:14rust-coreutils0.8.0-1DEBIAN-CVE-2026-35378
Ubuntu:24.04:LTSrust-coreutilsno fix listedUBUNTU-CVE-2026-35378
Ubuntu:25.10rust-coreutilsno fix listedUBUNTU-CVE-2026-35378

Affected products (as reported)

VendorProductVersions
Uutils coreutils 0 – before 0.8.0

Weakness: CWE-768 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

References