CVE-2024-58266: comex shlex Improper Encoding or Escaping of Output
CVSS: 9.8v3.1CriticalAnalyzed
AliasesSUSE-SU-2025:03077-1UBUNTU-CVE-2024-58266DEBIAN-CVE-2024-58266GHSA-r7qv-8r2h-pg27RUSTSEC-2024-0006
Published 27-07-2025Last modified 28-07-2025
Vulnerability summary
CVE-2024-58266 is a critical (CVSS 9.8) Improper Encoding or Escaping of Output vulnerability in comex shlex. EPSS estimates a 0.77% chance of exploitation in the next 30 days, higher than 54.9% of scored vulnerabilities.
CVSS score
9.8/10
010
Critical · v3.1 (NVD)EPSS score
0.77%
0%100%
Low · -0.01 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 27-07-2025PublishedVulnerability first disclosed.
- 28-07-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 versionCritical 9.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSources5 sources · 3.2–9.8
- CVE.orgCNA3.2LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · Crates.ioEcosystem advisory · calculated3.2LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:NDiffers
EPSS trend
Probability
0.77%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
-0.01 pp
From 0.78% on 21-09-2026
21-09-202621-10-2026
EPSS score0.77%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse2 products
- rav1e&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6< 0.6.6-150600.3.6.1
- rav1e&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7< 0.6.6-150600.3.6.1
Comex1 product
- shlex< 1.2.1
Crates.Io1 product
- shlex< 1.3.0 | ≥ 0.0.0-0, < 1.3.0
Debian1 product
- rust-shlexAll versions (No fix recorded) | < 1.3.0-1
Opensuse1 product
- rav1e&distro=openSUSE Leap 15.6< 0.6.6-150600.3.6.1
Ubuntu1 product
- rust-shlexAll versions (No fix recorded)
6 vendors · 7 products
References
13 linksShow all 13 references
- github.com/comex/rust-shlexPACKAGE