3.3low
uutils coreutils env Local Denial of Service via Improper Handling of Backslashes in Split-String Mode
- Severity
- 3.3low CVSS:3.1 by canonical
- Exploit likelihood
- 0.13% (higher than 1% of CVEs)
- Published
- Last changed
- Assigned by
- canonical
- Also known as
- GHSA-xhrc-7f76-vh96
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| coreutils | Not specified | CVE List |
| uu_env (crates.io) | before 0.10.0 | GitHub Advisory Database |
| uutils coreutils | Not specified | NVD |
All scores
| canonical | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
In env -S, GNU keeps backslashes literal inside single quotes (except \\ and \'); uutils errors on sequences like \a. This is the backslash-handling issue of the broader -S/--split-string parsing divergence.
env -S"printf %s '\''\\x'\''" # GNU prints \x ; uutils: invalid sequence '\x' in -S (125)
Zellic private finding (zellic-ext/coreutils-private PR #117). Reported in the Zellic uutils coreutils Program Security Assessment (for Canonical, Jan 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242.
NVD (es)
Un error lógico en la utilidad “env” de “uutils coreutils” provoca un fallo al analizar correctamente los argumentos de línea de comandos al utilizar la opción “-S (split-string)”. En “GNU env”, las barras invertidas dentro de comillas simples se tratan literalmente (con las excepciones de “\\” y “\’”). Sin embargo, la implementación de “uutils” intenta validar incorrectamente estas secuencias, lo que resulta en un error de ’secuencia no válida’ y una terminación inmediata del proceso con un estado de salida de 125 al encontrar secuencias válidas pero no reconocidas como “\a” o “\x”. Esta divergencia del comportamiento de “GNU” rompe la compatibilidad para scripts automatizados y flujos de trabajo administrativos que dependen de la semántica estándar de “split-string”, lo que lleva a una denegación de servicio local para esas operaciones.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-35377 changed 2026-04-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xhrc-7f76-vh96 changed 2026-11-20 | CC-BY-4.0 |
| NVD | CVE-2026-35377 changed 2026-10-26 | Public domain |