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.
Metrics
Affected Vendors & Products
References
History
Wed, 13 Aug 2025 00:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
| |
Metrics |
threat_severity
|
cvssV3_1
|
Tue, 12 Aug 2025 14:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Tue, 12 Aug 2025 12:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Tokio
Tokio slab |
|
Vendors & Products |
Tokio
Tokio slab |
Mon, 11 Aug 2025 23:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | |
Title | slab allows out-of-bounds access in `get_disjoint_mut` due to incorrect bounds check | |
Weaknesses | CWE-119 | |
References |
| |
Metrics |
cvssV4_0
|

Status: PUBLISHED
Assigner: GitHub_M
Published: 2025-08-11T23:00:58.915Z
Updated: 2025-08-12T14:07:00.276Z
Reserved: 2025-08-07T18:27:23.306Z
Link: CVE-2025-55159

Updated: 2025-08-12T14:06:55.485Z

Status : Awaiting Analysis
Published: 2025-08-11T23:15:28.173
Modified: 2025-08-12T14:25:33.177
Link: CVE-2025-55159
