CVE-2020-35893
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.
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
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 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV: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 High
CVSS: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 Critical
CVSS: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 High
CVSS: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 Critical
CVSS: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 High
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
simple-slabcrates.io |
before 0.3.3 | 0.3.3 |
simple-slabcrates.io From an advisory covering 2 CVEs |
before 0.3.3 | 0.3.3 |
simple-slabcrates.io From an advisory covering 2 CVEs |
0.0.0-0 up to 0.3.3 | 0.3.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE 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
rustsec.org/advisories/RUSTSEC-2020-0039.html
nvd.nist.gov/vuln/detail/CVE-2020-35893
github.com/nathansizemore/simple-slab/issues/2
github.com/nathansizemore/simple-slab/commit/5e0524c1db836e2192e1cd818848d96937c0b587
github.com/advisories/GHSA-hqc8-j86x-2764
nvd.nist.gov/vuln/detail/CVE-2020-35892
github.com/nathansizemore/simple-slab
crates.io/crates/simple-slab