CVE-2025-55159: tokio-rs slab · Memory Buffer Overflow
Affects tokio-rs slabSource CVE Database V5
Not known to be exploited · CVSS 5.1 Medium · fixed in 0.4.11 : update tokio-rs slab when convenient.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.4.11
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 11 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
AI-suggested
European organizations should prioritize upgrading the slab crate to version 0.4.11 or later, where the vulnerability is fixed. For projects where immediate upgrade is not feasible, developers must audit usage of the get_disjoint_mut method to ensure indices never exceed the slab's length, avoiding access to uninitialized memory. Incorporating rigorous input validation and bounds checking in application code can mitigate risks. Additionally, organizations should implement comprehensive testing, including fuzz testing and memory safety analysis, to detect potential out-of-bounds access. Monitoring Rust dependencies for updates and integrating automated dependency scanning tools into CI/CD pipelines will help promptly identify and remediate vulnerable versions. For critical systems, consider isolating or sandboxing components using the slab crate to limit impact of potential crashes. Finally, maintain awareness of tokio-rs project advisories and community discussions for any emerging exploit reports or patches.
Description
slab is a pre-allocated storage for a uniform data type. In version 0.4.10, the get_disjoint_mut method incorrectly checked if indices were within the slab's capacity instead of its length, allowing access to uninitialized memory. This could lead to undefined behavior or potential crashes. This has been fixed in slab 0.4.11. A workaround for this issue involves to avoid using get_disjoint_mut with indices that might be beyond the slab's actual length.