Skip to content
OpenAdvisories
Low · 3.2 CVE-2024-58266 EUVD-2024-54826GHSA-r7qv-8r2h-pg27RUSTSEC-2024-0006

Multiple issues involving quote API in shlex

Published Jul 27, 2025 · Updated Jul 28, 2025 · Assigned by mitre

Description

The shlex crate before 1.2.1 for Rust allows unquoted and unescaped instances of the { and \xa0 characters, which may facilitate command injection.

Affected products

VendorProductAffectedFixed
comex shlex < 1.2.1 1.2.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-shlex 1.3.0-1 —
Debian 13 rust-shlex 1.3.0-1 —
Debian 12 rust-shlex No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-shlex No fix yet —
Ubuntu 26.04 LTS rust-shlex No fix yet —
Ubuntu 25.10 rust-shlex No fix yet —
Ubuntu 24.04 LTS rust-shlex No fix yet —
Ubuntu 22.04 LTS rust-shlex No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS rust-shlex No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 rav1e 0.6.6-150600.3.6.1 SUSE-SU-2025:03077-1
SLES 15 SP6 rav1e 0.6.6-150600.3.6.1 SUSE-SU-2025:03077-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 6.1 rust-keylime 0.2.8+12-slfo.1.1_1.1 SUSE-SU-2025:20858-1
SLE Micro 6.0 rust-keylime 0.2.8+12-1.1 SUSE-SU-2025:20717-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed framework-inputmodule-control 0.2.0-3.1 openSUSE-SU-2025:15433-1
openSUSE Leap 15.6 rav1e 0.6.6-150600.3.6.1 SUSE-SU-2025:03077-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 rust 1.75.0-30 —
Azure Linux 2 (CBL-Mariner) rust +1 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io shlex < 1.3.0 1.3.0 GHSA-r7qv-8r2h-pg27
crates.io shlex >= 0.0.0-0, < 1.3.0 1.3.0 RUSTSEC-2024-0006

Advisories 4

References