CVE-2025-55159 — Improper Restriction of Operations within the Bounds of a Memory Buffer in Slab
Severity
5.1MEDIUMNVD
EPSS
0.0%
top 93.41%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 11
Latest updateAug 12
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.
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Affected Packages7 packages
🔴Vulnerability Details
4GHSA
▶
📋Vendor Advisories
3Microsoft
▶
Debian▶
CVE-2025-55159: rust-slab - slab is a pre-allocated storage for a uniform data type. In version 0.4.10, the ...↗2025