{"id":"CVE-2015-20001","details":"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.","modified":"2026-04-10T03:45:10.765150Z","published":"2021-04-11T20:15:12Z","references":[{"type":"ADVISORY","url":"https://github.com/rust-lang/rust/issues/25842"},{"type":"ADVISORY","url":"https://github.com/rust-lang/rust/pull/25856"},{"type":"EVIDENCE","url":"https://github.com/rust-lang/rust/issues/25842"},{"type":"FIX","url":"https://github.com/rust-lang/rust/issues/25842"},{"type":"FIX","url":"https://github.com/rust-lang/rust/pull/25856"},{"type":"REPORT","url":"https://github.com/rust-lang/rust/issues/25842"},{"type":"REPORT","url":"https://github.com/rust-lang/rust/pull/25856"}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}