CVE-2025-55159

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-55159
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-55159.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-55159
Aliases
Downstream
Related
Published
2025-08-11T23:00:58Z
Modified
2025-11-09T19:56:12.219624Z
Severity
  • 5.1 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
slab allows out-of-bounds access in `get_disjoint_mut` due to incorrect bounds check
Details

slab is a pre-allocated storage for a uniform data type. In version 0.4.10, the getdisjointmut 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 getdisjointmut with indices that might be beyond the slab's actual length.

Database specific
{
    "cwe_ids": [
        "CWE-119"
    ]
}
References

Affected packages

Git / github.com/tokio-rs/slab

Affected ranges

Type
GIT
Repo
https://github.com/tokio-rs/slab
Events

Affected versions

v0.*

v0.4.10