{"id":"CVE-2026-35377","aliases":["CVE-2026-35377","GHSA-xhrc-7f76-vh96"],"related":[],"kind":"vulnerability","state":"published","title":"uutils coreutils env Local Denial of Service via Improper Handling of Backslashes in Split-String Mode","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.\n```\nenv -S\"printf %s '\\''\\\\x'\\''\"   # GNU prints \\x ; uutils: invalid sequence '\\x' in -S (125)\n```\n\n---\n_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`._","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-04-22T16:09:12.220Z","modified":"2026-11-20T16:45:07.998Z","severity":{"scorer":"canonical","scheme":"CVSS: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,"rating":"LOW"},"severities":[{"scorer":"canonical","scheme":"CVSS: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,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"LOW"}],"cwes":["CWE-20"],"affected":[{"ranges":[],"vendor":"Uutils","product":"coreutils","package":"coreutils","repo":"https://github.com/uutils/coreutils","platforms":["Linux","Unix","macOS"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.10.0"}],"ecosystem":"crates.io","package":"uu_env","purl":"pkg:cargo/uu_env","source":"ghsa"},{"ranges":[],"vendor":"uutils","product":"coreutils","cpe":"cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://github.com/uutils/coreutils/pull/11512","tags":["issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/uutils/coreutils/security/advisories/GHSA-xhrc-7f76-vh96","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/uutils/coreutils/commit/9d7a0e849109c82262ac2d65324739aac690200f","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/uutils/coreutils","tags":["package"],"sources":["ghsa"]}],"credits":["Zellic"],"assigner":"canonical","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-22T17:00:56.507Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-35377","url":"https://www.cve.org/CVERecord?id=CVE-2026-35377","licence":"CVE Terms of Use","modified":"2026-04-22T17:01:09.526Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xhrc-7f76-vh96","url":"https://github.com/advisories/GHSA-xhrc-7f76-vh96","licence":"CC-BY-4.0","modified":"2026-11-20T16:45:07.998Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-35377","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35377","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:19.338Z","epss":{"score":0.0013,"percentile":0.01275,"date":"2026-11-30T12:00:22.000Z"}}