Skip to main content

uutils coreutils EUVDEUVD-2026-25030

| CVE-2026-35377 LOW
Improper Input Validation (CWE-20)
2026-04-22 canonical GHSA-5v4g-vw9x-h534
3.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Local user crafts script with env -S
  2. Delivery
    Includes backslash sequence like \a
  3. Exploit
    Parser validates and rejects
  4. Execution
    Process exits with code 125
  5. Impact
    Script halts and workflow fails

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires: (1) local shell access with sufficient privilege to execute commands (PR:L minimum), (2) use of the env utility with the -S (split-string) option, (3) presence of backslash escape sequences in the argument that are valid under GNU semantics but not recognized by uutils validation (e.g., \a, \x, or any backslash not followed by \ or '), and (4) scripts or workflows that depend on the result of that env command. Default configurations are not vulnerable by default because the -S option is not typically used in casual command-line invocations; vulnerability surfaces only in scripts explicitly written to use split-string mode. Non-vulnerable deployments include systems running GNU coreutils (official) or uutils coreutils with the patch applied. The impact is limited to local operations - no remote attacker can trigger this without first gaining shell access.

Impact

CVSS score of 3.3 (low) and SSVC assessment (exploitation: none, automatable: no, technical impact: partial) align with the actual threat model: this is a local-only denial of service with no authentication bypass, remote code execution, or data breach potential. The attack vector is local (AV:L) and requires low privilege (PR:L), limiting exposure to users with shell access. Automatable exploitation is 'no' because triggering this requires crafting specific scripts or commands with the -S option and vulnerable backslash sequences, which is not a default behavior. The technical impact is partial because it affects only operations using -S with certain backslash patterns; standard env usage and other command-line tools are unaffected. This is a compatibility issue rather than a security emergency - the real risk is broken workflows in organizations relying on uutils as a GNU coreutils replacement, not widespread system compromise. KEV status is not listed, POC is not noted, and exploitation in the wild is not reported, confirming this is a low-priority issue suitable for standard patch cycles rather than emergency response.

Exploit ScenarioDerived

A system administrator runs an automated script that uses env -S with a split string containing valid escape sequences such as env -S 'command \a argument'. On a vulnerable uutils coreutils installation, this immediately exits with status 125 and 'invalid sequence' error, halting the entire script. If this command is part of a critical system initialization or backup workflow, the denial of service prevents the system from completing essential tasks.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 23, 2026

The env utility in uutils coreutils incorrectly rejects valid backslash escape sequences in single-quoted strings when using the -S (split-string) option, terminating with exit status 125 and causing local denial of service for scripts relying on GNU env compatibility. The implementation performs overly strict validation that diverges from GNU behavior, where backslashes outside of \\ and \' are treated literally rather than invalid, breaking automated administrative workflows.

RemediationAI

Apply the patch from uutils coreutils GitHub PR #11512 or upgrade to the next release that includes the fix (specific version number not confirmed in provided references). The upstream fix corrects the backslash validation logic to match GNU env behavior, allowing literal backslashes in single-quoted strings except for \\ and \'. No workarounds are practical because the issue is in core argument parsing; the only temporary mitigation is to avoid the -S option entirely or rewrite scripts to eliminate backslash sequences within split strings, though this may break portability. Since exploitation requires local shell access and no remote vector exists, the remediation priority is medium - suitable for next routine patching window rather than emergency deployment, but should be prioritized for systems running uutils as a drop-in GNU coreutils replacement.

Affected Packages

cargo coreutils no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in cargo

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The env utility is a POSIX-standard command-line tool used to execute programs with modified environment variables and to split command strings. The -S option enables split-string mode, where a single argument is parsed as multiple arguments separated by spaces and tabs. GNU env implements shell-like backslash escape handling within single quotes with specific rules: backslashes are literal except for \\, which becomes \, and \', which becomes '. The uutils implementation, which provides Rust-based replacements for GNU coreutils, incorrectly validates backslash sequences and rejects valid ones like \a or \x as errors. This is a CWE-20 (Improper Input Validation) issue where the validation logic is stricter than the specification requires, causing the parser to terminate prematurely rather than interpret sequences according to GNU semantics.

Know when Coreutils gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 3.3 LOW
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

2
Patch released
Apr 22, 2026 - 16:31 nvd
Patch available
CVE Published
Apr 22, 2026 - 16:09 nvd
LOW 3.3

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

16
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +16
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:a:uutils:coreutils:*:*:*:*:*:*:*:*
CVE-2014-9471 HIGH POC
7.5 Jan 16

The parse_datetime function in GNU coreutils allows remote attackers to cause a denial of service (crash) or possibly ex

CVE-2026-35368 HIGH
7.8 Apr 22

Privilege escalation to root in uutils coreutils chroot utility allows low-privileged local attackers with write access

CVE-2026-93658 HIGH
7.3 Sep 18

Local privilege escalation in uutils coreutils before 0.10.0: the `install` utility applies a requested setuid/setgid mo

CVE-2026-35338 HIGH POC
7.3 Apr 22

Recursive chmod operations can bypass --preserve-root protection in uutils coreutils versions prior to 0.6.0, allowing l

CVE-2026-35341 HIGH POC
7.1 Apr 22

Local privilege escalation in uutils coreutils mkfifo allows authenticated users to downgrade permissions on arbitrary f

CVE-2026-35352 HIGH
7.0 Apr 22

Privilege escalation in uutils coreutils mkfifo utility allows local attackers with low privileges to manipulate file pe

CVE-2026-35349 MEDIUM
6.7 Apr 22

Bypass of --preserve-root protection in uutils coreutils rm utility allows local users to recursively delete the root fi

CVE-2026-35365 MEDIUM
6.6 Apr 22

The mv utility in uutils coreutils improperly expands symbolic links instead of preserving them during moves across file

CVE-2026-35350 MEDIUM
6.6 Apr 22

The cp utility in uutils coreutils improperly preserves setuid and setgid bits when the chown operation fails during fil

CVE-2026-35374 MEDIUM
6.3 Apr 22

The split utility in uutils coreutils contains a time-of-check to time-of-use (TOCTOU) race condition that allows local

CVE-2026-35364 MEDIUM
6.3 Apr 22

A time-of-check to time-of-use (TOCTOU) race condition in the mv utility of uutils coreutils during cross-device move op

CVE-2026-35360 MEDIUM
6.3 Apr 22

The touch utility in uutils coreutils suffers from a Time-of-Check to Time-of-Use (TOCTOU) race condition that allows lo

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy