CVE 3.3 LOW

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

3.3 / 10
LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

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.

Basic Information

ID CVE-2026-35378
Source canonical
Published Apr 22, 2026 at 16:09
Modified Apr 22, 2026 at 17:00

Affected Product

Vendor Uutils
Product coreutils
Affected Versions Uutils coreutils 0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.