Security Resilience

CVE-2024-58266

Comex Shlex ≤ 1.2.1

Published
27 July 2025
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 3.2
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
EPSS Score 0.0077 55th percentile
Risk Priority 30 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-58266 is a low-severity Improper Encoding or Escaping of Output (CWE-116) vulnerability in Comex Shlex. Its CVSS base score is 3.2 (Low).

Operationally, ranked in the top 45% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-47280Shared CWE-116
CVE-2026-81685Shared CWE-116
CVE-2026-39826Shared CWE-116
CVE-2024-27629Shared CWE-116
CVE-2023-32301Shared CWE-116
CVE-2026-18516Shared CWE-116
CVE-2026-20245Shared CWE-116
CVE-2025-30657Shared CWE-116
CVE-2024-10441Shared CWE-116
CVE-2024-34510Shared CWE-116

Affected Assets

comex
shlex
≤ 1.2.1

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-116

Validating that output matches expected content directly mitigates failures to properly encode or escape data for its destination context.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect missing or incorrect encoding but does not itself implement the control.

prevents

Secure coding standards explicitly require correct output encoding and escaping to preserve message structure.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-116, a class-level weakness, and none of its children carries one either.

References