CVE-2025-55159 Details
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.
A vulnerability in the Tokio slab library version 0.4.10 allows out-of-bounds access in the get_disjoint_mut method. The issue arises because the method improperly verifies if indices are within the slab's capacity rather than its actual length, leading to potential access of uninitialized memory. This flaw can cause undefined behavior or crashes.
Users can upgrade to Tokio slab version 0.4.11 or later, or avoid using the get_disjoint_mut method with indices that may exceed the slab's current length.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 11, 2025CISA-ADP
Assessed Aug 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/tokio-rs/slab/commit/2d65c514bc964b192bab212ddf3c1fcea4ae96b8 | [email protected] | Source CodeVendor |
| https://github.com/tokio-rs/slab/pull/152 | [email protected] | Issue TrackingVendor |
| https://github.com/tokio-rs/slab/security/advisories/GHSA-qx2v-8332-m4fv | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| tokio-rs slab | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 11, 2025 | New CVE Received | [email protected] |
Volerion