CVE-2021-31996
HIGH 7.5CVSS 3.1Double free in algorithmica
An issue was discovered in the algorithmica crate through 2021-03-07 for Rust. There is a double free in merge_sort::merge().
- Published
- 3 May 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-415
- Also known as
- GHSA-jh37-772x-4hpwRUSTSEC-2021-0053
- Sources
- NVDJSONOSV GHSA-jh37-772x-4hpwJSONOSV RUSTSEC-2021-0053JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | algorithmica_project | algorithmicacpe:2.3:a:algorithmica_project:algorithmica:*:*:*:*:*:rust:*:* |
<= 2021-03-07 | |
| OSV | crates.io | algorithmica | <= 0.1.8 | |
| OSV | crates.io | algorithmica | >= 0.0.0-0 |
References
- https://rustsec.org/advisories/RUSTSEC-2021-0053.html · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-31996 · ADVISORY
- https://github.com/AbrarNitk/algorithmica/issues/1 · WEB, REPORT
- https://crates.io/crates/algorithmica · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 3 May 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Mar 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)