CVE-2015-20001: rust-lang rust
Vulnerability summary
CVE-2015-20001 is a high (CVSS 7.5) vulnerability in rust-lang rust. EPSS estimates a 1.32% chance of exploitation in the next 30 days, higher than 71.8% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 11-04-2021PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
Description
In the standard library in Rust before 1.2.0, BinaryHeap is not panic-safe. The binary heap is left in an inconsistent state when the comparison of generic elements inside sift_up or sift_down_range panics. This bug leads to a drop of zeroed memory as an arbitrary type, which can result in a memory safety violation.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.32%
Chance of exploitation in the next 30 days
Percentile
72%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.32% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundRust
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- rustc< 1.2.0+dfsg1-1
Rust-lang1 product
- rust< 1.2.0
Ubuntu1 product
- rustc< 1.47.0+dfsg1+llvm-1ubuntu1~16.04.1 | < 1.47.0+dfsg1+llvm-1ubuntu1~18.04.1
3 vendors · 3 products
References
5 links- github.com/rust-lang/rust/issues/25842X Refsource MISCExploitIssue TrackingPatchThird Party AdvisoryREPORT