CVE-2020-35862 json
Use after free and double free in bitvec
published 2020-03-27 6 y ago modified 2026-06-17 4 mo ago also GHSA-7cjc-hvxf-gqh7 , RUSTSEC-2020-0007 , EUVD-2021-1617
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
An issue was discovered in the bitvec crate before 0.17.4 for Rust. BitVec to BitBox conversion leads to a use-after-free or double free.
Patch / fix
- crates.io bitvec 0.17.4
- bitvec_project bitvec 0.17.4
Exploit prediction
1.65% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2020-0007.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | bitvec | >=0.11.0, <0.17.4 |
0.17.4 |
Classification
References
-
rustsec.org
/advisories/RUSTSEC-2020-0007.html
web, exploit, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-35862
advisory
-
github.com
/myrrlyn/bitvec/issues/55
web, report
-
github.com
/myrrlyn/bitvec
package
-
crates.io
/crates/bitvec
package
Sources
- CVE List CVE-2020-35862
- GitHub Advisory GHSA-7cjc-hvxf-gqh7
- NVD CVE-2020-35862
- OSV RUSTSEC-2020-0007
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.