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

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debianrust-coreutilssid0.12.0-1fixed
Debianrust-coreutilsforky0.12.0-1fixed
Debianrust-coreutilstrixie0.0.30-2vulnerable
Debianrust-coreutilsbookworm0.0.17-2vulnerable
Cperust-coreutilsNot reportedNot reportedvulnerable
CpecoreutilsNot reported0.8.0fixed
Ubunturust-coreutils24.040.0.20-1vulnerable
Ubunturust-coreutils24.040.0.22-1vulnerable
Ubunturust-coreutils24.040.0.23-1vulnerable
Ubunturust-coreutils24.040.0.23-2vulnerable
Ubunturust-coreutils24.040.0.23-3vulnerable
Ubunturust-coreutils24.040.0.24-1vulnerable
Ubunturust-coreutils24.040.0.24-2vulnerable
Ubunturust-coreutils25.100.0.30-1vulnerable
Ubunturust-coreutils25.100.0.30-2vulnerable
Ubunturust-coreutils25.100.0.30-2ubuntu2vulnerable
Ubunturust-coreutils25.100.1.0-0ubuntu1vulnerable
Ubunturust-coreutils25.100.1.0+git20250711.2ba3a33-0ubuntu1vulnerable
Ubunturust-coreutils25.100.1.0+git20250711.2ba3a33-0ubuntu2vulnerable
Ubunturust-coreutils25.100.1.0+git20250711.2ba3a33-0ubuntu3vulnerable
Ubunturust-coreutils25.100.1.0+git20250711.2ba3a33-0ubuntu4vulnerable
Ubunturust-coreutils25.100.1.0+git20250801.cf79675-0ubuntu1vulnerable
Ubunturust-coreutils25.100.1.0+git20250813.4af2a84-0ubuntu2vulnerable
Ubunturust-coreutils25.100.1.0+git20250813.4af2a84-0ubuntu4vulnerable
Ubunturust-coreutils25.100.1.0+git20250813.4af2a84-0ubuntu6vulnerable
Ubunturust-coreutils25.100.1.0+git20250813.4af2a84-0ubuntu7vulnerable
Ubunturust-coreutils25.100.2.2-0ubuntu1vulnerable
Ubunturust-coreutils25.100.2.2-0ubuntu2vulnerable
Ubunturust-coreutils25.100.2.2-0ubuntu2.1vulnerable
CpecoreutilsNot reported0.8.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrust-coreutilssourcesid0.8.0-1not yet assignedNot reported[1134876]
Debianrust-coreutilssourceforky0.8.0-1not yet assignedNot reported[1134876]
Debianrust-coreutilssourcetrixie(unfixed)not yet assignedNot reported[1134876]
Debianrust-coreutilssourcebookworm(unfixed)not yet assignedNot reported[1134876]
CpecoreutilscpeNot reported0.8.0Not reportedNot reportedNot reported
CpecoreutilscpeNot reported0.8.0Not reportedNVD-CVE-2026-35378Not reported

[Debian bug #1134876]

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 · bookworm

      Affected

      nvd · rust-coreutils · debian · bookworm; nvd · rust-coreutils · debian · 12

    • 0.0.17-2 · arm64 · bookworm

      Affected

      nvd · rust-coreutils · debian · bookworm; nvd · rust-coreutils · debian · 12

[Debian 13 (Trixie)]

  • [rust-coreutils]Affected
    Details (2)
    • 0.0.30-2 · amd64 · trixie

      Affected

      nvd · rust-coreutils · debian · 13

    • 0.0.30-2 · arm64 · trixie

      Affected

      nvd · rust-coreutils · debian · 13

Observed:

References