# CVE-2020-36465: Use after free in generic-array

- 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.27%, higher than 70% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-04-09T12:00:00.000Z
- Modified: 2026-06-17T03:15:33.000Z
- Also known as: GHSA-3358-4f7f-p4j4, RUSTSEC-2020-0146
- Weaknesses: CWE-416
- Assigned by: mitre

## Description

An issue was discovered in the generic-array crate before 0.13.3 for Rust. It violates soundness by using the arr! macro to extend lifetimes.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- generic-array (crates.io): from 0.13.0 before 0.13.3; from 0.12.0 before 0.12.4; from 0.11.0 before 0.11.2; from 0.10.0 before 0.10.1; from 0.8.0 before 0.9.1; from 0.8.0 before 0.8.4; from 0.9.0 before 0.9.1
- generic-array_project generic-array: from 0.8.0 before 0.8.4; from 0.9.0 before 0.9.1; from 0.10.0 before 0.10.1; from 0.11.0 before 0.11.2; from 0.12.0 before 0.12.4; from 0.13.0 before 0.13.3

## 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-0146.html> (exploit, advisory, issue-tracking, patch, third-party-advisory, web)
- <https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/generic-array/RUSTSEC-2020-0146.md> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-36465> (advisory)
- <https://github.com/fizyk20/generic-array/issues/98> (report, web)
- <https://github.com/fizyk20/generic-array> (package)
- <https://crates.io/crates/generic-array> (package)

## Sources

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

---

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