CVE-2020-36464Heapless Project Heapless
High 7.5 No auth needed
Follow: this CVE · Heapless Project · Heapless Project Heapless We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 69
- Auth required
- No
- Published
- Aug 8, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-416
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
An issue was discovered in the heapless crate before 0.6.1 for Rust. The IntoIter Clone implementation clones an entire underlying Vec without considering whether it has already been partially consumed.
What to do
- Apply the vendor's security update for Heapless.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | heapless |
< 0.6.1 |
0.6.1 |
cargo update -p heapless --precise 0.6.1 |
| crates.io | heapless |
≥ 0.0.0-0 < 0.6.1 |
0.6.1 |
cargo update -p heapless --precise 0.6.1 |
Per OSV / GitHub Advisories (GHSA-qgwf-r2jj-2ccv, RUSTSEC-2020-0145). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| heapless_project | heapless | < 0.6.1 |
Official sources
References
Links published by the sources. Open them with care.
- raw.githubusercontent.com Third Party Advisory
- rustsec.org Exploit Issue Tracking Patch