# CVE-2021-45706: Memory flaw in zeroize_derive

- 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.23%, higher than 69% of CVEs (2026-12-01)
- Published: 2021-09-24T12:00:00.000Z
- Modified: 2026-06-17T04:13:59.260Z
- Also known as: GHSA-c5hx-w945-j4pq, RUSTSEC-2021-0115
- Weaknesses: CWE-459
- Assigned by: mitre

## Description

An issue was discovered in the zeroize_derive crate before 1.1.1 for Rust. Dropped memory is not zeroed out for an enum.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- zeroize_derive (crates.io): before 1.1.1; from 0.0.0-0 before 1.1.1
- zeroize_derive_project zeroize_derive: before 1.1.1

## 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`
- 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-0115.html> (advisory, third-party-advisory, web)
- <https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/zeroize_derive/RUSTSEC-2021-0115.md> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-45706> (advisory)
- <https://github.com/iqlusioninc/crates/issues/876> (report, web)
- <https://github.com/RustCrypto/utils/tree/master/zeroize/derive> (package)
- <https://crates.io/crates/zeroize_derive> (package)

## Sources

- CVE List: [CVE-2021-45706](https://www.cve.org/CVERecord?id=CVE-2021-45706), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-c5hx-w945-j4pq](https://github.com/advisories/GHSA-c5hx-w945-j4pq), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2021-0115](https://rustsec.org/advisories/RUSTSEC-2021-0115.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2021-45706](https://nvd.nist.gov/vuln/detail/CVE-2021-45706), Public domain, modified 2026-06-17

---

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