CVEvulnerability

CVE-2020-36318

9.8 CRITICAL Published 2021-04-11 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-04-11
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-415, CWE-416

Description

In the standard library in Rust before 1.49.0, VecDeque::make_contiguous has a bug that pops the same element more than once under certain condition. This bug could result in a use-after-free or double free.

Affected configurations

• rust-lang rust (>= 1.48.0 < 1.49.0)

Related

Weakness · CWE (2)

References