GHSA-5pv5-xh52-hvrp

Suggest an improvement
Source
https://github.com/advisories/GHSA-5pv5-xh52-hvrp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-5pv5-xh52-hvrp/GHSA-5pv5-xh52-hvrp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5pv5-xh52-hvrp
Aliases
  • CVE-2026-35378
Published
2026-04-22T18:31:46Z
Modified
2026-05-05T16:01:42.316380Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
uutils coreutils has an Incorrect Short Circuit Evaluation Issue
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-768"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-04-30T18:05:16Z",
    "nvd_published_at": "2026-04-22T17:16:42Z",
    "severity": "LOW"
}
References

Affected packages

crates.io / coreutils

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.8.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-5pv5-xh52-hvrp/GHSA-5pv5-xh52-hvrp.json"