# CVE-2015-20001

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 1.2.0 (CNA); fix release not confirmed
- Status: published
- Published: 2021-04-11 · Modified: 2024-08-06
- Aliases: UBUNTU-CVE-2015-20001, DEBIAN-CVE-2015-20001
- Record: https://cvemate.com/vulnerability/CVE-2015-20001 · JSON: https://cvemate.com/vulnerability/CVE-2015-20001/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.324%, percentile 71.896%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian rustc (Debian): \< 1.2.0+dfsg1-1
- ubuntu rustc (Ubuntu): \< 1.47.0+dfsg1+llvm-1ubuntu1~16.04.1 \| \< 1.47.0+dfsg1+llvm-1ubuntu1~18.04.1
- rust-lang rust: \< 1.2.0

## References

- <https://github.com/rust-lang/rust/issues/25842>
- <https://github.com/rust-lang/rust/pull/25856>
- <https://ubuntu.com/security/CVE-2015-20001>
- <https://www.cve.org/CVERecord?id=CVE-2015-20001>
- <https://security-tracker.debian.org/tracker/CVE-2015-20001>

---

Data as of 2026-12-05T10:00:24.013Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
