CVE-2019-25004
CRITICAL 9.8CVSS 3.1Unsound casting in flatbuffers
An issue was discovered in the flatbuffers crate before 0.6.1 for Rust. Arbitrary bytes can be reinterpreted as a bool, defeating soundness.
- Published
- 31 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-704
- Also known as
- GHSA-gx73-2498-r55cRUSTSEC-2019-0028
- Sources
- NVDJSONOSV GHSA-gx73-2498-r55cJSONOSV RUSTSEC-2019-0028JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | RustSec | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | flatbufferscpe:2.3:a:google:flatbuffers:*:*:*:*:*:rust:*:* |
>= 0.4.0, < 0.6.1 | 0.6.1 | |
| OSV | crates.io | flatbuffers | >= 0.4.0, < 0.6.1 | 0.6.1 |
References
- https://rustsec.org/advisories/RUSTSEC-2019-0028.html · Exploit, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2019-25004 · ADVISORY
- https://github.com/google/flatbuffers/issues/5530 · 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 20 Oct 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)