uutils coreutils expr Local Denial of Service via Eager Evaluation of Parenthesized Subexpressions
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Uutils | coreutils | before 0.8.0 | 0.8.0 | Patch available | CNA |
| — | coreutils (crates.io) | before 0.8.0 | 0.8.0 | Patch available | GHSA-5pv5-xh52-hvrp |
- coreutils VendorUutils Affected before 0.8.0 Fixed in 0.8.0 Patch available CNA
- coreutils (crates.io) Vendor— Affected before 0.8.0 Fixed in 0.8.0 Patch available GHSA-5pv5-xh52-hvrp
Remediation
- Fix · CNA coreutils (Uutils) Fixed in 0.8.0
- Fix · GHSA-5pv5-xh52-hvrp coreutils (crates.io) Fixed in 0.8.0 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Uutils coreutils — github.com/uutils/coreutils/releases/tag/0.8.0
7 records Highest priority Priority MEDIUM 3 MEDIUM, 4 LOW
Other records, highest priority first
- TI-2026-27517 uutils coreutils tr Local Logic Error and Data Integrity Issue in Character Class HandlingPriority MEDIUM 49
- TI-2026-27513 uutils coreutils split Local Data Integrity Issue via Lossy Filename EncodingPriority MEDIUM 49
- TI-2026-27514 uutils coreutils chcon Security Bypass and Mandatory Access Control (MAC) Inconsistency via TOCTOU Race ConditionPriority LOW 25
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-35378
- 2026-10-03 Alias added: GHSA-5pv5-xh52-hvrp
References
More Uutils Coreutils vulnerabilities
- TI-2026-27506 uutils coreutils chroot Local Privilege Escalation and chroot Escape in via Name Service Switch (NSS) Injection CVSS 3.1HIGH 7.2
- TI-2026-27498 uutils coreutils touch Arbitrary File Truncation via TOCTOU Race Condition CVSS 3.1MEDIUM 6.3
- TI-2026-27488 uutils coreutils cp Unexpected Privileged Executable Creation with -p CVSS 3.1MEDIUM 6.6
- TI-2026-27502 uutils coreutils mv Arbitrary File Overwrite via Cross-Device TOCTOU Race Condition CVSS 3.1MEDIUM 6.3
- TI-2026-27493 uutils coreutils install Arbitrary File Overwrite via Symlink TOCTOU Race CVSS 3.1MEDIUM 6.3
- TI-2026-27511 uutils coreutils ln Local Denial of Service via Improper Handling of Non-UTF-8 Filenames CVSS 3.1MEDIUM 5.5
Sources
- CVE-2026-35378 · CVE Program
- CVE-2026-35378 · NVD
- FIRST EPSS
- GHSA-5pv5-xh52-hvrp · GitHub Advisory Database · CC BY 4.0
- CVE-2026-35378 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences