GitHub Advisoryadvisory · crates.io

GHSA-5v4g-vw9x-h534 uutils coreutils has an Improper Input Validation Issue in its env Utility

LOW Published 2026-04-22 Modified 2026-04-30 Official page ↗
Aliases
CVE-2026-35377
Ecosystem
crates.io
Packages
coreutils
Severity
Low
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-20
Reviewed
2026-04-30

Affected packages

• crates.io coreutils: <= 0.8.0 (no fix yet)

Description

A logic error in the env utility of uutils coreutils causes a failure to correctly parse command-line arguments when utilizing the -S (split-string) option. In GNU env, backslashes within single quotes are treated literally (with the exceptions of \\ and \'). However, the uutils implementation incorrectly attempts to validate these sequences, resulting in an "invalid sequence" error and an immediate process termination with an exit status of 125 when encountering valid but unrecognized sequences like \a or \x. This divergence from GNU behavior breaks compatibility for automated scripts and administrative workflows that rely on standard split-string semantics, leading to a local denial of service for those operations.

Related

Alias · CVE (1)

  • CVE-2026-35377 A logic error in the env utility of uutils coreutils causes a failure to correctly parse command-line arguments when utilizing the -S… vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References