Vulnerability record · CVE-2015-20001 · published 11 April 2021
CVE-2015-20001: Rust-lang rust memory buffer overflow vulnerability
Rust Lang · Rust
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.
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/rust-lang/rust/issues/25842 | ExploitIssue TrackingPatchThird Party Advisory |
| https://github.com/rust-lang/rust/pull/25856 | Issue TrackingPatchThird Party Advisory |
| https://github.com/rust-lang/rust/issues/25842 | ExploitIssue TrackingPatchThird Party Advisory |
| https://github.com/rust-lang/rust/pull/25856 | Issue TrackingPatchThird Party Advisory |
Track CVE-2015-20001 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2015-20001), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.