cve.bz

CVE-2025-55159 tokio-rs slab

5.1 mediumEPSS 0.2%Fix available

Medium (5.1) in tokio-rs slab. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in slab 0.4.11.

On this page
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.

Severity

CVSS 4.0

5.1 medium
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
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 10th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-08-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-55159 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-55159?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-55159?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-55159 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
tokio-rs slab>= 0.4.10, < 0.4.11

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qx2v-8332-m4fvcrates.ioslab>=0.4.10 <0.4.110.4.11
RUSTSEC-2025-0047crates.ioslab>=0.4.10 <0.4.110.4.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morerust-slabno fix listedUBUNTU-CVE-2025-55159
SUSELinux Enterprise Micro 5.3rust-keylime0.2.8+12-150400.3.10.1SUSE-SU-2025:02957-1
SUSELinux Enterprise Micro 5.4rust-keylime0.2.8+12-150400.3.8.1SUSE-SU-2025:02961-1
SUSELinux Enterprise Micro 5.5rust-keylime0.2.8+12-150500.3.8.1SUSE-SU-2025:02962-1
SUSELinux Enterprise Module for Basesystem 15 SP7SLES16-Migration2.1.26-15.22.4SUSE-RU-2025:4131-1
SUSELinux Enterprise Module for Basesystem 15 SP7python-Cerberus1.3.2-150700.20.2.10SUSE-RU-2025:4131-1
SUSELinux Enterprise Module for Basesystem 15 SP7suse-migration-services2.1.26-150700.16.12.1SUSE-RU-2025:4131-1
SUSELinux Enterprise Module for Basesystem 15 SP7suse-migration-sle16-activation2.1.26-150700.15.9.1SUSE-RU-2025:4131-1
SUSELinux Enterprise Module for Basesystem 15 SP7wicked2nm1.4.0-150700.15.7.2SUSE-RU-2025:4131-1
SUSELinux Enterprise Module for Development Tools 15 SP6, Linux Enterprise Module for Development Tools 15 SP7sccache0.4.2~4-150600.10.6.1SUSE-SU-2025:3944-1
SUSELinux Enterprise Module for Public Cloud 15 SP6, Linux Enterprise Module for Public Cloud 15 SP7aws-efs-utils2.3.3-150600.17.6.1SUSE-SU-2025:3954-1
SUSELinux Enterprise Module for SAP Applications 15 SP7SLES16-SAP_Migration2.1.26-15.14.4SUSE-RU-2025:4131-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0flake-pilot3.1.22-160000.1.1SUSE-SU-2025:20921-1
5 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6aws-efs-utils2.3.3-150600.17.6.1SUSE-SU-2025:3954-1
openSUSELeap 15.6sccache0.4.2~4-150600.10.6.1SUSE-SU-2025:3944-1
openSUSELeap 16.0flake-pilot3.1.22-160000.1.1openSUSE-SU-2025:20013-1
openSUSELeap 16.0forgejo-cli0.6.0-bp160.1.1openSUSE-SU-2026:21605-1
openSUSELeap 16.0git-cliff2.13.1-bp160.1.1openSUSE-SU-2026:21584-1
openSUSELeap 16.0glycin-loaders1.2.1-160000.3.1openSUSE-SU-2026:21134-1
openSUSELeap 16.0gstreamer, gstreamer-docs, gstreamer-devtools and 6 more1.26.7-160000.1.1openSUSE-SU-2026:20329-1
openSUSELeap 16.0gstreamer-plugins-rs1.26.7+git0.6ab75814-160000.1.1openSUSE-SU-2026:20329-1
openSUSELeap 16.0kak-lsp21.0.2-bp160.1.1openSUSE-SU-2026:21560-1
openSUSELeap 16.0rust-keylime0.2.8+116-160000.1.1openSUSE-SU-2026:20364-1
openSUSETumbleweedab-av10.11.7-1.1openSUSE-SU-2026:12171-1
openSUSETumbleweedafterburn5.10.0.git73.b97f772-2.1openSUSE-SU-2026:11324-1
12 more for openSUSE in the JSON and on openSUSE's page.
Azure Linux3rust1.90.0-4AZL-74897

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

To mitigate this flaw avoid using get_disjoint_mut with indices that might be beyond the slab's actual length

ProductPackageStateAdvisory
Confidential Compute Attestationbuild-of-trustee/trustee-rhel9Not affected
Confidential Compute Attestationconfidential-compute-attestation-tech-preview/trustee-rhel9Not affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-cloud-api-adaptor-rhel9Not affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-cloud-api-adaptor-webhook-rhel9Not affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-monitor-rhel9Not affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-operator-bundleNot affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-builder-rhel9Not affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-payload-rhel9Not affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-rhel9-operatorNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-operator-bundleNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel9-operatorNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/eventrouter-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/log-file-metric-exporter-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/vector-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8Not affected
OpenShift Serverlessopenshift-serverless-1/kn-plugin-func-func-util-rhel8Not affected
OpenShift Service Mesh 3openshift-service-mesh-dev-preview-beta/istio-ztunnel-rhel9Not affected
OpenShift Service Mesh 3openshift-service-mesh/istio-cni-rhel9Not affected
OpenShift Service Mesh 3openshift-service-mesh/istio-must-gather-rhel9Not affected
OpenShift Service Mesh 3openshift-service-mesh/istio-pilot-rhel9Not affected
70 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-55159.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON