
CVE catalog
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
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.16% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rust-coreutils | sid | 0.12.0-1 | fixed |
| Debian | rust-coreutils | forky | 0.12.0-1 | fixed |
| Debian | rust-coreutils | trixie | 0.0.30-2 | vulnerable |
| Debian | rust-coreutils | bookworm | 0.0.17-2 | vulnerable |
| Cpe | rust-coreutils | Not reported | Not reported | vulnerable |
| Cpe | coreutils | Not reported | 0.8.0 | fixed |
| Ubuntu | rust-coreutils | 24.04 | 0.0.20-1 | vulnerable |
| Ubuntu | rust-coreutils | 24.04 | 0.0.22-1 | vulnerable |
| Ubuntu | rust-coreutils | 24.04 | 0.0.23-1 | vulnerable |
| Ubuntu | rust-coreutils | 24.04 | 0.0.23-2 | vulnerable |
| Ubuntu | rust-coreutils | 24.04 | 0.0.23-3 | vulnerable |
| Ubuntu | rust-coreutils | 24.04 | 0.0.24-1 | vulnerable |
| Ubuntu | rust-coreutils | 24.04 | 0.0.24-2 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.0.30-1 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.0.30-2 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.0.30-2ubuntu2 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0-0ubuntu1 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0+git20250711.2ba3a33-0ubuntu1 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0+git20250711.2ba3a33-0ubuntu2 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0+git20250711.2ba3a33-0ubuntu3 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0+git20250711.2ba3a33-0ubuntu4 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0+git20250801.cf79675-0ubuntu1 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0+git20250813.4af2a84-0ubuntu2 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0+git20250813.4af2a84-0ubuntu4 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0+git20250813.4af2a84-0ubuntu6 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0+git20250813.4af2a84-0ubuntu7 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.2.2-0ubuntu1 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.2.2-0ubuntu2 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.2.2-0ubuntu2.1 | vulnerable |
| Cpe | coreutils | Not reported | 0.8.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-coreutils | source | sid | 0.8.0-1 | not yet assigned | Not reported | [1134876] |
| Debian | rust-coreutils | source | forky | 0.8.0-1 | not yet assigned | Not reported | [1134876] |
| Debian | rust-coreutils | source | trixie | (unfixed) | not yet assigned | Not reported | [1134876] |
| Debian | rust-coreutils | source | bookworm | (unfixed) | not yet assigned | Not reported | [1134876] |
| Cpe | coreutils | cpe | Not reported | 0.8.0 | Not reported | Not reported | Not reported |
| Cpe | coreutils | cpe | Not reported | 0.8.0 | Not reported | NVD-CVE-2026-35378 | Not reported |
Notes
[trixie] rust-coreutils: Minor issue [bookworm] rust-coreutils: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [rust-coreutils]Affected
Details (2)
0.0.17-2· amd64 · bookwormAffected
nvd · rust-coreutils · debian · bookworm; nvd · rust-coreutils · debian · 12
0.0.17-2· arm64 · bookwormAffected
nvd · rust-coreutils · debian · bookworm; nvd · rust-coreutils · debian · 12
[Debian 13 (Trixie)]
- [rust-coreutils]Affected
Details (2)
0.0.30-2· amd64 · trixieAffected
nvd · rust-coreutils · debian · 13
0.0.30-2· arm64 · trixieAffected
nvd · rust-coreutils · debian · 13
Observed:
References
- [https://github.com/uutils/coreutils/pull/11395]
- [https://github.com/uutils/coreutils/releases/tag/0.8.0]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-35378]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-35378]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-35378]
- [https://security-tracker.debian.org/tracker/CVE-2026-35378]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35378.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]