CVE-2024-43806 — Vulnerability in rustix — CVE Details
rustix's `rustix::fs::Dir` iterator with the `linux_raw` backend can cause memory explosion
Summary
Advisory Timeline
- First published October 18, 2023 (1090 days ago).
- Last revised September 10, 2026 — 1057 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p rustix --precise 0.35.15
cargo update -p rustix --precise 0.36.16
cargo update -p rustix --precise 0.38.19
cargo update -p rustix --precise 0.37.25
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: crates.io (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-400Uncontrolled Resource ConsumptionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/bytecodealliance/rustix/security/advisories/GHSA-c827-hfw6-qwvmWEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-43806ADVISORY
- https://github.com/imsnif/bandwhich/issues/284WEB
- https://github.com/imsnif/bandwhich/issues/284#issuecomment-1754321993WEB
- https://github.com/bytecodealliance/rustix/commit/31fd98ca723b93cc6101a3e29843ea5cf094e159WEB
- https://github.com/bytecodealliance/rustix/commit/87481a97f4364d12d5d6f30cdd025a0fc509b8ecWEB
- https://github.com/bytecodealliance/rustix/commit/df3c3a192cf144af0da8a57417fb4addbdc611f6WEB
- https://github.com/bytecodealliance/rustix/commit/eecece4a84fc58eafdc809cc2cedd374dee876a5WEB
- https://discord.com/channels/273534239310479360/1161137828395237556WEB
- https://github.com/bytecodealliance/rustixPACKAGE
Frequently Asked Questions
- What is CVE-2024-43806?
- rustix's `rustix::fs::Dir` iterator with the `linux_raw` backend can cause memory explosion This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.5/10).
- How do I check if my project is affected by CVE-2024-43806?
- CVE-2024-43806 affects rustix. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-43806 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2026-102821MEDIUM
Russh: Unbounded memory exhaustion via CHANNEL_OPEN flood during a client-stalled rekey
- CVE-2026-102820MEDIUM
pageant: Out-of-bounds read / oversized allocation in `pageant` MemoryMap::read via a malicious Pageant agent (Windows)
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies