Vulnerability DatabaseRUSTSEC-2025-0116

RUSTSEC-2025-0116
Rust vulnerability analysis and mitigation

Overview

The shlex crate before version 1.2.1 for Rust contains a vulnerability that allows unquoted and unescaped instances of the { and non-breaking space characters, which may facilitate command injection. The vulnerability was disclosed on July 27, 2025, and was assigned CVE-2024-58266 (NVD, RedHat).

Technical details

The vulnerability is classified as CWE-116 (Improper Encoding or Escaping of Output). It received varying CVSS scores, with NIST assigning a Critical score of 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), while MITRE assigned a Low score of 3.2 (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N) (NVD).

Impact

The vulnerability involves three distinct issues: failure to quote characters that can cause single arguments to be interpreted as multiple arguments in a shell, handling of null bytes in strings that cannot be used in Unix command arguments, and lack of escaping for control characters in interactive shells. The overall impact is considered limited, with exploitation requiring high attack complexity and targeting of uncommon scenarios (RedHat).

Mitigation and workarounds

According to Red Hat, mitigation options are either not available or do not meet their Product Security criteria for ease of use, deployment, and applicability to widespread installation base or stability (RedHat).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-64347HIGH7.5
  • RustRust
  • apollo-router
NoYesNov 07, 2025
RUSTSEC-2025-0117N/AN/A
  • RustRust
  • tandem
NoNoNov 10, 2025
RUSTSEC-2025-0116N/AN/A
  • RustRust
  • tandem_garble_interop
NoNoNov 10, 2025
RUSTSEC-2025-0115N/AN/A
  • RustRust
  • tandem_http_server
NoNoNov 10, 2025
RUSTSEC-2025-0114N/AN/A
  • RustRust
  • tandem_http_client
NoNoNov 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management