Every CVE Search/ Get API key

CVE-2020-35893

Off-by-one error in simple-slab

7.5 HighFix available

An issue was discovered in the simple-slab crate before 0.3.3 for Rust. remove() has an off-by-one error, causing memory leakage and a drop of uninitialized memory.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.35%Up 0.9 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

An issue was discovered in the simple-slab crate before 0.3.3 for Rust. remove() has an off-by-one error, causing memory leakage and a drop of uninitialized memory.

Record
CVE-2020-35893
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-193, CWE-401, CWE-908
Updated
2026-11-02
CVE List No score

An issue was discovered in the simple-slab crate before 0.3.3 for Rust. remove() has an off-by-one error, causing memory leakage and a drop of uninitialized memory.

Record
CVE-2020-35893
Updated
2026-11-02
EUVDEUVD-2021-1753 No score

An issue was discovered in the simple-slab crate before 0.3.3 for Rust. remove() has an off-by-one error, causing memory leakage and a drop of uninitialized memory.

Record
EUVD-2021-1753
Updated
2026-11-03
GitHub AdvisoriesGHSA-hqc8-j86x-2764 7.5

Off-by-one error in simple-slab

An issue was discovered in the simple-slab crate before 0.3.3 for Rust. remove() has an off-by-one error, causing memory leakage and a drop of uninitialized memory.

Record
GHSA-hqc8-j86x-2764
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-193
Updated
2026-11-02
OSVCVE-2020-35892 9.1

An issue was discovered in the simple-slab crate before 0.3.3 for Rust. index() allows an out-of-bounds read.

Record
CVE-2020-35892
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSV 7.5

An issue was discovered in the simple-slab crate before 0.3.3 for Rust. remove() has an off-by-one error, causing memory leakage and a drop of uninitialized memory.

Record
CVE-2020-35893
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVGHSA-438g-fx34-4h9m 9.1

Out of bounds read in simple-slab

An issue was discovered in the simple-slab crate before 0.3.3 for Rust. index() allows an out-of-bounds read.

Record
GHSA-438g-fx34-4h9m
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
OSVGHSA-hqc8-j86x-2764 7.5

Off-by-one error in simple-slab

An issue was discovered in the simple-slab crate before 0.3.3 for Rust. remove() has an off-by-one error, causing memory leakage and a drop of uninitialized memory.

Record
GHSA-hqc8-j86x-2764
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-193
Updated
2026-11-02
OSVRUSTSEC-2020-0039 No score

`index()` allows out-of-bound read and `remove()` has off-by-one error

Slab::index() does not perform the boundary checking, which leads to out-of-bound read access. Slab::remove() copies an element from an invalid address due to off-by-one error, resulting in memory leakage and uninitialized memory drop.

Record
RUSTSEC-2020-0039
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
simple-slab
crates.io
before 0.3.3
0.3.3
simple-slab
crates.io
From an advisory covering 2 CVEs
before 0.3.3
0.3.3
simple-slab
crates.io
From an advisory covering 2 CVEs
0.0.0-0 up to 0.3.3
0.3.3

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-35893 is a high vulnerability (CVSS 7.5) in Simple-slab Project Simple-slab, published September 3, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.35%, the 71st percentile. Fixed in simple-slab 0.3.3.

References

MoveEnter Open