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

- Severity: Low 3.3 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-22T16:09:14.702Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-5pv5-xh52-hvrp
- Weaknesses: CWE-768
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: canonical

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

(As written by CVE List.)

## Affected

- coreutils: before 0.8.0
- coreutils (crates.io): before 0.8.0
- uutils coreutils: before 0.8.0

## Every score

- canonical: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/uutils/coreutils/pull/11395> (exploit, issue-tracking, patch, web)
- <https://github.com/uutils/coreutils/releases/tag/0.8.0> (release-notes, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-35378> (advisory)
- <https://github.com/uutils/coreutils/commit/76b2f7877f558f3bfa78e3d4f49f022460f509b7> (web)
- <https://github.com/uutils/coreutils> (package)

## Sources

- CVE List: [CVE-2026-35378](https://www.cve.org/CVERecord?id=CVE-2026-35378), CVE Terms of Use, modified 2026-04-22
- GitHub Advisory Database: [GHSA-5pv5-xh52-hvrp](https://github.com/advisories/GHSA-5pv5-xh52-hvrp), CC-BY-4.0, modified 2026-05-05
- NVD: [CVE-2026-35378](https://nvd.nist.gov/vuln/detail/CVE-2026-35378), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-35378 · Whole record: https://cve.day/CVE-2026-35378.json · Rebuilt by cve.day 2026-11-25T22:59:19.339Z
