What’s Vulnerable › Vulnerabilities
CVE-2021-26951
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-02-09 · updated 2026-06-17
- Weakness: CWE-787
Description
An issue was discovered in the calamine crate before 0.17.0 for Rust. It allows attackers to overwrite heap-memory locations because Vec::set_len is used without proper memory claiming, and this uninitialized memory is used for a user-provided Read operation, as demonstrated by Sectors::get.
Affected products
- Calamine Project Calamine: before 0.17.0 — fixed in 0.17.0
How to fix
Upgrade to a fixed version: Calamine Project Calamine 0.17.0. Check the vendor advisory for mitigations.
References
- https://rustsec.org/advisories/RUSTSEC-2021-0015.html
- https://rustsec.org/advisories/RUSTSEC-2021-0015.html
Get alerted when CVE-2021-26951 or the next vulnerability affects your stack