Vulnerability database / CVE-2020-36318
CVE-2020-36318
CRITICAL 9.8 CVSS 3.1 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.
Published 11 Apr 2021
Last modified 17 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-415 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
CRITICAL 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
HIGH 7.5
AV:N/AC:L/Au:N/C:P/I:P/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
rust-lang
rustcpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*
>= 1.48.0, < 1.49.0
1.49.0
References
History
25 Nov 2026 20:32 UTC · NVD: first stored (published 11 Apr 2021)