CVE-2025-55159
BaseFortify
Publication date: 2025-08-11
Last updated on: 2025-08-12
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| tokio-rs | slab | 0.4.11 |
| tokio-rs | slab | 0.4.10 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-119 | The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
In slab version 0.4.10, the get_disjoint_mut method incorrectly checked if indices were within the slab's capacity instead of its actual length. This flaw allows access to uninitialized memory, which can cause undefined behavior or crashes. The issue was fixed in version 0.4.11.
How can this vulnerability impact me? :
This vulnerability can lead to undefined behavior or potential crashes in applications using slab 0.4.10, due to access to uninitialized memory. This may affect the stability and reliability of the software.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, avoid using the get_disjoint_mut method with indices that might be beyond the slab's actual length. Additionally, update slab to version 0.4.11 or later where this issue has been fixed.