All vulnerabilities

Servers and applications

CVE-2020-36318

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.

Severity
Critical 9.8
Published
11 Apr 2021
Last changed
17 Jun 2026
Added to UpHeron
22 Oct 2026
Fixed in
1.49.0
Sources
NVD

Affected software

SoftwareAffected versions
RustServers and applications · cpe:a:rust-lang:rust
  • From 1.48.0 before 1.49.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2020-36318
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2020-36318