{"id":"CVE-2021-31996","aliases":["RUSTSEC-2021-0053"],"url":"https://o3.security/vulnerability/CVE-2021-31996","summary":"Double free in algorithmica","details":"An issue was discovered in the algorithmica crate through 2021-03-07 for Rust. In the affected versions of this crate, `merge_sort::merge()` wildly duplicates and drops ownership of `T` without guarding against double-free. Due to such implementation, simply invoking `merge_sort::merge()` on `Vec<T: Drop>` can cause **double free** bugs.\n","published":"2021-08-25T21:01:52Z","modified":"2023-11-08T04:05:51.884944Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":{"score":0.00961,"percentile":0.57596,"asOf":"2026-07-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"algorithmica","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31996"},{"type":"WEB","url":"https://github.com/AbrarNitk/algorithmica/issues/1"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0053.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:05:51.884944Z"}}