CVE-2015-20001
mediumpriority · track · 30EPSS 0.013 · 71 %ileEUUSEPSS · scored 2026-10-28
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://github.com/rust-lang/rustPatchcnnvd
- https://github.com/rust-lang/rust/issues/25842cnnvd
- https://github.com/rust-lang/rust/pull/25856cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2015-20001cnnvd
- https://github.com/rust-lang/rust/issues/25842enisa_euvd
- https://github.com/rust-lang/rust/pull/25856enisa_euvd
- https://github.com/rust-lang/rust/issues/25842ExploitIssue TrackingPatchThird Party Advisorynvd
- https://github.com/rust-lang/rust/pull/25856Issue TrackingPatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan