{"cve":"CVE-2021-26951","nvd":{"published":"2021-02-09T23:15:13.663","modified":"2026-06-17T03:44:03.790","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-787","CWE-908"],"references":["https://rustsec.org/advisories/RUSTSEC-2021-0015.html","https://rustsec.org/advisories/RUSTSEC-2021-0015.html"],"products":["calamine_project:calamine"],"source":"nvd","synced_at":"2026-10-19T21:14:10.479542811+00:00"},"epss":{"cve":"CVE-2021-26951","score":0.01728,"percentile":0.77574,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-ppqp-78xx-3r38","url":"https://osv.dev/vulnerability/GHSA-ppqp-78xx-3r38","summary":"Out of bounds write in calamine","modified":"2023-11-08T04:05:22.828925Z","packages":[{"ecosystem":"crates.io","name":"calamine","purl":"pkg:cargo/calamine","ranges":["<0.17.0"],"fixed":["0.17.0"]}]},{"id":"RUSTSEC-2021-0015","url":"https://osv.dev/vulnerability/RUSTSEC-2021-0015","summary":"`Sectors::get` accesses unclaimed/uninitialized memory","modified":"2023-11-08T04:05:22.828925Z","packages":[{"ecosystem":"crates.io","name":"calamine","purl":"pkg:cargo/calamine","ranges":[">=0.0.0-0 <0.17.0"],"fixed":["0.17.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}