CVE-2025-55159slab allows out-of-bounds access in `get_disjoint_mut` due to incorrect bounds check
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.
What to do
Fixed builds are available from crates.io: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | rust-slab | Fix pending | UBUNTU-CVE-2025-55159 | |
| Ubuntu 26.04 | rust-slab | Under investigation | UBUNTU-CVE-2025-55159 | |
| Ubuntu 25.10 | rust-slab | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-55159 | |
| Ubuntu 24.04 | rust-slab | Under investigation | UBUNTU-CVE-2025-55159 | |
| Ubuntu 22.04 | rust-slab | Under investigation | UBUNTU-CVE-2025-55159 | |
| Ubuntu 20.04 | rust-slab | Fix pending | UBUNTU-CVE-2025-55159 | |
| Red Hat Enterprise Linux 10 | 389-ds-base | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-bdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-snmp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | aardvark-dns | Not affected | ||
| Red Hat Enterprise Linux 10 | afterburn | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | afterburn-dracut | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | bootc | Not affected | ||
| Red Hat Enterprise Linux 10 | cargo | Not affected | ||
| Red Hat Enterprise Linux 10 | clippy | Not affected | ||
| Red Hat Enterprise Linux 10 | fdo-admin-cli | Not affected | ||
| Red Hat Enterprise Linux 10 | fdo-client | Not affected | ||
| Red Hat Enterprise Linux 10 | fdo-init | Not affected | ||
| Red Hat Enterprise Linux 10 | fdo-manufacturing-server | Not affected | ||
| Red Hat Enterprise Linux 10 | fdo-owner-cli | Not affected | ||
| Red Hat Enterprise Linux 10 | fdo-owner-onboarding-server | Not affected | ||
| Red Hat Enterprise Linux 10 | fdo-rendezvous-server | Not affected | ||
| Red Hat Enterprise Linux 10 | firefox | Not affected | ||
| Red Hat Enterprise Linux 10 | gjs | Not affected | ||
| Red Hat Enterprise Linux 10 | gjs-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | glycin-loaders | Not affected | ||
| Red Hat Enterprise Linux 10 | gnome-tour | Not affected | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust | Not affected | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust-common | Not affected | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust-ima-emulator | Not affected | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust-push | Not affected | ||
| Red Hat Enterprise Linux 10 | ldb-tools | Not affected | ||
| Red Hat Enterprise Linux 10 | libldb | Not affected | ||
| Red Hat Enterprise Linux 10 | libldb-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | libnetapi | Not affected | ||
| Red Hat Enterprise Linux 10 | libnetapi-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | librsvg2 | Not affected | ||
| Red Hat Enterprise Linux 10 | librsvg2-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | librsvg2-tools | Not affected | ||
| Red Hat Enterprise Linux 10 | libsmbclient | Not affected | ||
| Red Hat Enterprise Linux 10 | libsmbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | libwbclient | Not affected | ||
| Red Hat Enterprise Linux 10 | libwbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | loupe | Not affected | ||
| Red Hat Enterprise Linux 10 | netavark | Not affected | ||
| Red Hat Enterprise Linux 10 | nmstate | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nmstate-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nmstate-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nmstate-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | papers | Not affected | ||
| Red Hat Enterprise Linux 10 | papers-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | papers-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | papers-nautilus | Not affected | ||
| Red Hat Enterprise Linux 10 | papers-previewer | Not affected | ||
| Red Hat Enterprise Linux 10 | papers-thumbnailer | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-ldb | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-lib389 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | python3-libnmstate | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | python3-samba | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-samba-dc | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-samba-test | Not affected | ||
| Red Hat Enterprise Linux 10 | rpm-ostree | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rpm-ostree-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rsvg-pixbuf-loader | Not affected | ||
| Red Hat Enterprise Linux 10 | rust | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-sequoia-sq | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-aarch64-unknown-none-softfloat | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-wasip1 | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-x86_64-unknown-none | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-toolset-srpm-macros | Not affected | ||
| Red Hat Enterprise Linux 10 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 10 | samba | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-client | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-client-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-common | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-common-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-common-tools | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-dc-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-dcerpc | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-gpupdate | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-krb5-printing | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-ldb-ldap-modules | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-pidl | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-test | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-test-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-tools | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-usershares | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-vfs-iouring | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-winbind | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-winbind-clients | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-winbind-krb5-locator | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-winbind-modules | Not affected | ||
| Red Hat Enterprise Linux 10 | samba-winexe | Not affected | ||
| Red Hat Enterprise Linux 10 | sequoia-sq | Not affected | ||
| Red Hat Enterprise Linux 10 | sevctl | Not affected | ||
| Red Hat Enterprise Linux 10 | snapshot | Not affected | ||
| Red Hat Enterprise Linux 10 | snpguest | Not affected | ||
| Red Hat Enterprise Linux 10 | stratisd | Not affected | ||
| Red Hat Enterprise Linux 10 | stratisd-dracut | Not affected | ||
| Red Hat Enterprise Linux 10 | stratisd-tools | Not affected | ||
| Red Hat Enterprise Linux 10 | system-reinstall-bootc | Not affected | ||
| Red Hat Enterprise Linux 10 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 10 | trustee-guest-components | Not affected | ||
| Red Hat Enterprise Linux 10 | virtiofsd | Not affected | ||
| Red Hat Enterprise Linux 9 | aardvark-dns | Not affected | ||
| Red Hat Enterprise Linux 9 | afterburn | Not affected | ||
| Red Hat Enterprise Linux 9 | afterburn-dracut | Not affected | ||
| Red Hat Enterprise Linux 9 | bootc | Not affected | ||
| Red Hat Enterprise Linux 9 | cargo | Not affected | ||
| Red Hat Enterprise Linux 9 | clippy | Not affected | ||
| Red Hat Enterprise Linux 9 | coreos-installer | Not affected | ||
| Red Hat Enterprise Linux 9 | coreos-installer-bootinfra | Not affected | ||
| Red Hat Enterprise Linux 9 | coreos-installer-dracut | Not affected | ||
| Red Hat Enterprise Linux 9 | ctdb | Not affected | ||
| Red Hat Enterprise Linux 9 | firefox | Not affected | ||
| Red Hat Enterprise Linux 9 | firefox-x11 | Not affected | ||
| Red Hat Enterprise Linux 9 | gjs | Not affected | ||
| Red Hat Enterprise Linux 9 | gjs-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | keylime-agent-rust | Not affected | ||
| Red Hat Enterprise Linux 9 | ldb-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | libldb | Not affected | ||
| Red Hat Enterprise Linux 9 | libldb-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libnetapi | Not affected | ||
| Red Hat Enterprise Linux 9 | libnetapi-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | librsvg2 | Not affected | ||
| Red Hat Enterprise Linux 9 | librsvg2-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | librsvg2-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | libsmbclient | Not affected | ||
| Red Hat Enterprise Linux 9 | libsmbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libwbclient | Not affected | ||
| Red Hat Enterprise Linux 9 | libwbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | netavark | Not affected | ||
| Red Hat Enterprise Linux 9 | nispor | Not affected | ||
| Red Hat Enterprise Linux 9 | nispor-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-docs | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-ldb | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-nispor | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-samba | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-samba-dc | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-samba-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-samba-test | Not affected | ||
| Red Hat Enterprise Linux 9 | rpm-ostree | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rpm-ostree-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rpm-ostree-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-analysis | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasi | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasip1 | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 9 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 9 | samba | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-client | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-client-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-common | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-common-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-common-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-dc-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-dcerpc | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-gpupdate | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-krb5-printing | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-ldb-ldap-modules | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-pidl | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-test | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-test-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-usershares | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-vfs-iouring | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-winbind | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-winbind-clients | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-winbind-krb5-locator | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-winbind-modules | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-winexe | Not affected | ||
| Red Hat Enterprise Linux 9 | snpguest | Not affected | ||
| Red Hat Enterprise Linux 9 | stratisd | Not affected | ||
| Red Hat Enterprise Linux 9 | stratisd-dracut | Not affected | ||
| Red Hat Enterprise Linux 9 | stratisd-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | system-reinstall-bootc | Not affected | ||
| Red Hat Enterprise Linux 9 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 9 | trustee-guest-components | Not affected | ||
| Red Hat Enterprise Linux 8 | aardvark-dns | Not affected | ||
| Red Hat Enterprise Linux 8 | cargo | Not affected | ||
| Red Hat Enterprise Linux 8 | cargo-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | clippy | Not affected | ||
| Red Hat Enterprise Linux 8 | containers-common | Not affected | ||
| Red Hat Enterprise Linux 8 | firefox | Not affected | ||
| Red Hat Enterprise Linux 8 | mozjs60 | Not affected | ||
| Red Hat Enterprise Linux 8 | mozjs60-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | netavark | Not affected | ||
| Red Hat Enterprise Linux 8 | nispor | Not affected | ||
| Red Hat Enterprise Linux 8 | nispor-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-nispor | Not affected | ||
| Red Hat Enterprise Linux 8 | rls | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm-ostree | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm-ostree-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | rust | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-analysis | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static-wasm32-wasi | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 8 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 8 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 7 | firefox | Not affected | ||
| Red Hat Enterprise Linux 7 | thunderbird | Not affected | ||
| crates.io library | slab | Fixed | 0.4.11 | GHSA-qx2v-8332-m4fv |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- tokio-rs slab: affected: >= 0.4.10, < 0.4.11
References
- https://github.com/tokio-rs/slab/security/advisories/GHSA-qx2v-8332-m4fv
- https://github.com/tokio-rs/slab/pull/152
- https://github.com/tokio-rs/slab/commit/2d65c514bc964b192bab212ddf3c1fcea4ae96b8
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.