# CVE-2021-28028: Double free in toodee

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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.31%, higher than 71% of CVEs (2026-12-01)
- Published: 2021-02-19T12:00:00.000Z
- Modified: 2026-06-17T03:45:44.600Z
- Also known as: GHSA-wcvp-r8j8-47pc, GHSA-xm9m-2vj8-fmfr, RUSTSEC-2021-0028
- Related: CVE-2021-28029
- Weaknesses: CWE-415, CWE-908
- Assigned by: mitre

## Description

An issue was discovered in the toodee crate before 0.3.0 for Rust. Row insertion can cause a double free upon an iterator panic.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- toodee (crates.io): before 0.3.0; from 0.0.0-0 before 0.3.0
- toodee_project toodee: before 0.3.0

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2021-0028.html> (advisory, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-28028> (advisory)
- <https://github.com/antonmarsden/toodee/issues/13> (report, web)
- <https://github.com/antonmarsden/toodee/commit/ced70c172486fb4827c172cd8238053df3d1dcdb> (web)
- <https://github.com/antonmarsden/toodee> (package)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-28029> (advisory)
- <https://crates.io/crates/toodee> (package)

## Sources

- CVE List: [CVE-2021-28028](https://www.cve.org/CVERecord?id=CVE-2021-28028), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-wcvp-r8j8-47pc](https://github.com/advisories/GHSA-wcvp-r8j8-47pc), CC-BY-4.0, modified 2023-11-08
- GitHub Advisory Database: [GHSA-xm9m-2vj8-fmfr](https://github.com/advisories/GHSA-xm9m-2vj8-fmfr), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2021-0028](https://rustsec.org/advisories/RUSTSEC-2021-0028.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2021-28028](https://nvd.nist.gov/vuln/detail/CVE-2021-28028), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-28028 · Whole record: https://cve.day/CVE-2021-28028.json · Rebuilt by cve.day 2026-11-25T22:58:00.152Z
