CVE-2025-55159 json
slab allows out-of-bounds access in `get_disjoint_mut` due to incorrect bounds check
published 2025-08-11 14 mo ago modified 2026-10-12 27 d ago also GHSA-qx2v-8332-m4fv , RUSTSEC-2025-0047 , EUVD-2025-24190
- cvss
- 5.1
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io slab 0.4.11
- glycin-loaders SLES for SAP applications 16.0, SLES 16.0 1.2.1-160000.3.1
- rust-keylime Linux Micro 6.2 0.2.8+116-160000.1.1
- gstreamer Linux Micro 6.2 1.26.7-160000.1.1
- gstreamer-plugins-base Linux Micro 6.2 1.26.7-160000.1.1
- wicked2nm SLE Module for Basesystem 15 SP7 1.4.0-150700.15.7.2
- python-Cerberus SLE Module for Basesystem 15 SP7 1.3.2-150700.20.2.10
- SLES16-Migration SLE Module for Basesystem 15 SP7 2.1.26-15.22.4
- suse-migration-services SLE Module for Basesystem 15 SP7 2.1.26-150700.16.12.1
suse advisories SUSE-SU-2026:22302-1SUSE-SU-2026:20744-1SUSE-SU-2026:20686-1SUSE-RU-2025:4131-1SUSE-SU-2025:3954-1SUSE-SU-2025:3944-1
- ab-av1 openSUSE Tumbleweed 0.11.7-1.1
- forgejo-cli openSUSE Leap 16.0 0.6.0-bp160.1.1
- git-cliff openSUSE Leap 16.0 2.13.1-bp160.1.1
- kak-lsp openSUSE Leap 16.0 21.0.2-bp160.1.1
- kak-lsp openSUSE Tumbleweed 21.0.2-1.1
- afterburn openSUSE Tumbleweed 5.10.0.git73.b97f772-2.1
- glycin-loaders openSUSE Leap 16.0 1.2.1-160000.3.1
- git-cliff openSUSE Tumbleweed 2.12.0-1.1
opensuse advisories openSUSE-SU-2026:12171-1openSUSE-SU-2026:21605-1openSUSE-SU-2026:21584-1openSUSE-SU-2026:21560-1openSUSE-SU-2026:11475-1openSUSE-SU-2026:11324-1
- github.com/tokio-rs/slab@2d65c51 commit
- github.com/tokio-rs/slab#152 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-55159 updated cvss 4.0
slab: Slab: Out-of-bounds Memory Access Vulnerability
-
Red Hat Enterprise Linux 9 rpm-ostree, rpm-ostree-libs Red Hat Enterprise Linux 10 nmstate, rpm-ostree, 389-ds-base, rust-afterburnaffected: workaround, no fix available “To mitigate this flaw avoid using get_disjoint_mut with indices that might be beyond the slab's actual length”
-
Red Hat Confidential Compute Attestation build-of-trustee/trustee-rhel9, openshift-sandboxed-containers/osc-monitor-rhel9, openshift-sandboxed-containers/osc-rhel9-operator, openshift-sandboxed-containers/osc-operator-bundle, openshift-sandboxed-containers/osc-podvm-builder-rhel9, openshift-sandboxed-containers/osc-podvm-payload-rhel9, +3 more Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/vector-rhel9, openshift-logging/eventrouter-rhel9, openshift-logging/cluster-logging-rhel9-operator, openshift-logging/log-file-metric-exporter-rhel9, openshift-logging/cluster-logging-operator-bundle Red Hat OpenShift Serverless openshift-serverless-1/kn-plugin-func-func-util-rhel8, openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8 Red Hat OpenShift Service Mesh 3 openshift-service-mesh/istio-cni-rhel9, openshift-service-mesh/istio-pilot-rhel9, openshift-service-mesh/istio-proxyv2-rhel9, openshift-service-mesh/istio-rhel9-operator, openshift-service-mesh/istio-must-gather-rhel9, openshift-service-mesh/istio-sail-operator-bundle, +1 more Red Hat Discovery 2 discovery/discovery-server-rhel9 Red Hat Enterprise Linux 7 firefox, thunderbirdnot affected: vulnerable code not present
+8 more productsfewer
Red Hat Enterprise Linux 8 rls, rust, cargo, clippy, nispor, firefox, +18 more Red Hat Enterprise Linux 9 gjs, ctdb, rust, bootc, cargo, samba, +66 more Red Hat Enterprise Linux 10 gjs, rust, bootc, loupe, samba, papers, +16 more Red Hat OpenShift Container Platform 4 afterburn, conmon-rs, rpm-ostree, rust-afterburn, kata-containers, rpm-ostree-libs, +4 more Red Hat OpenShift Dev Spaces devspaces/code-rhel9, devspaces-tech-preview/idea-rhel9 Red Hat Satellite 6 satellite/iop-advisor-engine-rhel9 Red Hat Trusted Artifact Signer rhtas/tuffer-rhel9, rhtas/tuftool-rhel9 Red Hat Trusted Profile Analyzer rhtpa/rhtpa-trustification-service-rhel9
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 14 mo ago
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.1 | 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 |
| CNA | 4.0 | 5.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | slab | >=0.4.10, <0.4.11 |
0.4.11 |
Affected products
- tokio-rs slab
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/tokio-rs/slab/pull/152
web
-
github.com
/tokio-rs/slab/commit/2d65c514bc964b192bab212ddf3c1fcea4ae96b8
web
-
github.com
/tokio-rs/slab/security/advisories/GHSA-qx2v-8332-m4fv
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-55159
advisory
-
github.com
/tokio-rs/slab
package
-
rustsec.org
/advisories/RUSTSEC-2025-0047.html
web, advisory
-
crates.io
/crates/slab
package
Sources
- CVE List CVE-2025-55159
- GitHub Advisory GHSA-qx2v-8332-m4fv
- NVD CVE-2025-55159
- OSV RUSTSEC-2025-0047
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.