Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2019-25004
Rust vulnerability analysis and mitigation

Overview

The CVE-2019-25004 vulnerability was discovered in the flatbuffers crate versions 0.4.0 through 0.6.0. This vulnerability relates to an unsound implementation of the Follow trait for boolean values, which could allow attackers to reinterpret arbitrary bytes as boolean values (RustSec Advisory).

Technical details

The vulnerability stems from an unsound implementation of impl Follow for bool in the flatbuffers crate. This implementation allows the reinterpretation of arbitrary bytes as boolean values, which violates Rust's strict requirements for boolean in-memory representation. The vulnerability has been assigned a CVSS v3.1 score of 9.8 (Critical), with attack vector being Network, attack complexity Low, and no privileges or user interaction required (RustSec Advisory).

Impact

The vulnerability can lead to undefined behavior in safe code, potentially resulting in high impact on confidentiality, integrity, and availability of affected systems. The critical CVSS score indicates that successful exploitation could lead to significant security implications (RustSec Advisory).

Exploitability

The vulnerability is considered to have low attack complexity and requires no special privileges or user interaction to exploit. It can be triggered through network access, making it relatively straightforward to exploit in scenarios where an attacker can send malicious input to an application using the affected flatbuffers versions (RustSec Advisory).

Mitigation and workarounds

The vulnerability has been patched in flatbuffers version 0.6.1 and later. Users are advised to upgrade to version 0.6.1 or newer to address this security issue. Versions prior to 0.4.0 are not affected by this vulnerability (RustSec Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68537HIGH7.5
  • Rust logoRust
  • fulgur
NoYesSep 17, 2026
CVE-2026-68523HIGH7.5
  • Rust logoRust
  • fulgur
NoYesSep 17, 2026
RUSTSEC-2026-0289NONEN/A
  • Rust logoRust
  • pqc_kyber
NoNoSep 17, 2026
RUSTSEC-2026-0287NONEN/A
  • Rust logoRust
  • cosmian_kyber
NoNoSep 17, 2026
RUSTSEC-2026-0286NONEN/A
  • Rust logoRust
  • cryptoki
NoYesSep 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management