All reports
Critical

Unsound casting in flatbuffers

Affected versions

Version ranges need review.

Rust / Cargoflatbuffers
Affected versions
>=0.4.0 <0.6.1
Fixed version
0.6.1
Rust / Cargoflatbuffers
Affected versions
>= 0.4.0, < 0.6.1
Fixed version
0.6.1

Exploitation

CVE-2019-25004

Probability of exploitation in the next 30 days: 0.58%

FIRST EPSS · 2026-11-23

Description

The implementation of impl Follow for bool allows to reinterpret arbitrary bytes as a bool.

In Rust bool has stringent requirements for its in-memory representation. Use of this function allows to violate these requirements and invoke undefined behaviour in safe code.

Links