Vulnerability

CVE-2025-55159

mediumCVSS 4.0 5.1Published 11 Aug 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /tokio-rs/slab/commit/2d65c514bc964b192bab212ddf3c1fcea4ae9…
  • github.com /tokio-rs/slab/pull/152
  • github.com /tokio-rs/slab/security/advisories/GHSA-qx2v-8332-m4fv

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning