# CVE-2020-35891: Double free in ordnung

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.41%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-09-03T12:00:00.000Z
- Modified: 2026-06-17T03:14:32.790Z
- Also known as: GHSA-4wj3-p7hj-cvx8, GHSA-qrwc-jxf5-g8x6, RUSTSEC-2020-0038
- Related: CVE-2020-35890
- Weaknesses: CWE-125, CWE-415
- Assigned by: mitre

## Description

An issue was discovered in the ordnung crate through 2020-09-03 for Rust. compact::Vec violates memory safety via a remove() double free.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ordnung (crates.io): up to 0.0.1; from 0.0.0-0
- ordnung_project ordnung: up to 2020-09-03

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- RustSec Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2020-0038.html> (exploit, advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35891> (advisory)
- <https://github.com/maciejhirsz/ordnung/issues/8> (report, web)
- <https://github.com/maciejhirsz/ordnung> (package)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35890> (advisory)
- <https://crates.io/crates/ordnung> (package)

## Sources

- CVE List: [CVE-2020-35891](https://www.cve.org/CVERecord?id=CVE-2020-35891), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-4wj3-p7hj-cvx8](https://github.com/advisories/GHSA-4wj3-p7hj-cvx8), CC-BY-4.0, modified 2023-11-08
- GitHub Advisory Database: [GHSA-qrwc-jxf5-g8x6](https://github.com/advisories/GHSA-qrwc-jxf5-g8x6), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2020-0038](https://rustsec.org/advisories/RUSTSEC-2020-0038.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2020-35891](https://nvd.nist.gov/vuln/detail/CVE-2020-35891), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-35891 · Whole record: https://cve.day/CVE-2020-35891.json · Rebuilt by cve.day 2026-11-25T22:57:56.699Z
