Security mailing lists by PureSourceCode

CVE-2025-55159

MEDIUM 5.1CVSS 4.0

slab 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.

Published
11 Aug 2025
Last modified
12 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-119
Also known as
GHSA-qx2v-8332-m4fvRUSTSEC-2025-0047
Sources
NVDJSONOSV GHSA-qx2v-8332-m4fvJSONOSV RUSTSEC-2025-0047JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 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
OSV GitHub CVSS 4.0 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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io slab >= 0.4.10, < 0.4.11 0.4.11

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 11 Aug 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Aug 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Aug 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.