CVE-2020-35864
HIGH 7.5CVSS 3.1Dangling reference in flatbuffers
An issue was discovered in the flatbuffers crate through 2020-04-11 for Rust. read_scalar (and read_scalar_at) can transmute values without unsafe blocks.
- Published
- 31 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-704
- Also known as
- GHSA-c9h5-hf8r-m97xRUSTSEC-2020-0009
- Sources
- NVDJSONOSV GHSA-c9h5-hf8r-m97xJSONOSV RUSTSEC-2020-0009JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | flatbufferscpe:2.3:a:google:flatbuffers:*:*:*:*:*:rust:*:* |
>= 0.4.0, <= 1.12.0 | ||
| OSV | crates.io | flatbuffers | >= 0.4.0, < 2.0.0 | 2.0.0 |
References
- https://rustsec.org/advisories/RUSTSEC-2020-0009.html · Exploit, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-35864 · ADVISORY
- https://github.com/google/flatbuffers/issues/5825 · WEB, REPORT
- https://github.com/google/flatbuffers · PACKAGE
- https://crates.io/crates/flatbuffers · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Apr 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)