CVE-2015-20001
Reported by mitre · Published April 11, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rust | rust-lang | 1.2.0 |
| rustc | Ubuntu:16.04:LTS | 1.47.0+dfsg1+llvm-1ubuntu1~16.04.1 |
| rustc | Ubuntu:18.04:LTS | 1.47.0+dfsg1+llvm-1ubuntu1~18.04.1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Apr 11, 2021 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Apr 4, 2026 Security Advisory
- Oct 15, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-20001
vulnetix vdb fixes CVE-2015-20001
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-20001/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart