CVE-2020-36465 json
Use after free in generic-array
published 2020-04-09 6 y ago modified 2026-06-17 4 mo ago also GHSA-3358-4f7f-p4j4 , RUSTSEC-2020-0146 , EUVD-2021-1525
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io generic-array 0.8.4, 0.9.1, 0.10.1, 0.11.2, 0.12.4, 0.13.3
- generic-array_project generic-array 0.8.4, 0.9.1, 0.10.1, 0.11.2, 0.12.4, 0.13.3
- rust-generic-array Debian 14, Debian 13, Debian 12 0.14.4-1
debian advisories DEBIAN-CVE-2020-36465
Exploit prediction
1.27% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2020-0146.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | generic-array | >=0.13.0, <0.13.3 >=0.12.0, <0.12.4 >=0.11.0, <0.11.2 >=0.10.0, <0.10.1 >=0.8.0, <0.9.1 >=0.8.0, <0.8.4 >=0.9.0, <0.9.1 |
0.13.3 0.12.4 0.11.2 0.10.1 0.9.1 0.8.4 |
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
rustsec.org
/advisories/RUSTSEC-2020-0146.html
web, exploit, issue-tracking, patch, third-party-advisory, advisory
-
raw.githubusercontent.com
/rustsec/advisory-db/main/crates/generic-array/RUSTSEC-2020-0146.md
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-36465
advisory
-
github.com
/fizyk20/generic-array/issues/98
web, report
-
github.com
/fizyk20/generic-array
package
-
crates.io
/crates/generic-array
package
Sources
- CVE List CVE-2020-36465
- GitHub Advisory GHSA-3358-4f7f-p4j4
- NVD CVE-2020-36465
- OSV RUSTSEC-2020-0146
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.