{"cve":"CVE-2026-35378","nvd":{"published":"2026-04-22T17:16:42.730","modified":"2026-10-26T22:10:00.163","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.3},"cwes":["CWE-768"],"references":["https://github.com/uutils/coreutils/pull/11395","https://github.com/uutils/coreutils/releases/tag/0.8.0"],"products":["uutils:coreutils"],"source":"nvd","synced_at":"2026-10-26T22:26:44.656832877+00:00"},"epss":{"cve":"CVE-2026-35378","score":0.00156,"percentile":0.04723,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-5pv5-xh52-hvrp","url":"https://osv.dev/vulnerability/GHSA-5pv5-xh52-hvrp","summary":"uutils coreutils has an Incorrect Short Circuit Evaluation Issue","modified":"2026-05-05T16:11:45.206935Z","packages":[{"ecosystem":"crates.io","name":"coreutils","purl":"pkg:cargo/coreutils","ranges":["<0.8.0"],"fixed":["0.8.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}