9.8

CVE-2020-36318: rust-lang rust Double Free

CVSS: 9.8v3.1CriticalModified
AliasesUBUNTU-CVE-2020-36318DEBIAN-CVE-2020-36318
Published 11-04-2021Last modified 04-08-2024

Vulnerability summary

CVE-2020-36318 is a critical (CVSS 9.8) Double Free vulnerability in rust-lang rust. EPSS estimates a 1.68% chance of exploitation in the next 30 days, higher than 76.5% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
1.68%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 2

Timeline

  1. 11-04-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.68%

Chance of exploitation in the next 30 days

Percentile

77%

Versus all other CVEs

30-day change

0.00 pp

From 1.68% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.68%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Rust

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • rustc< 1.53.0+dfsg1-1
Rust-lang1 product
  • rust≥ 1.48.0, < 1.49.0
Ubuntu1 product
  • rustcAll versions (No fix recorded)

3 vendors · 3 products

References

7 links