CVE-2020-35864
Rust vulnerability analysis and mitigation

Overview

An issue was discovered in the flatbuffers crate through 2020-04-11 for Rust. The vulnerability affects the read_scalar and read_scalar_at functions, which can transmute values without unsafe blocks (NVD, RustSec).

Technical details

The vulnerability exists in the read_scalar and read_scalar_at functions which are unsound as they allow transmuting values without using unsafe blocks. This affects versions from 0.4.0 up to 1.12.0 of the flatbuffers crate. The issue has a CVSS v3.1 Base Score of 7.5 (HIGH) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (RustSec).

Impact

The vulnerability can lead to memory safety issues, including the potential creation of dangling references. This poses a significant risk to application stability and security, as demonstrated by proof-of-concept code that can create invalid references to static strings (RustSec).

Exploitability

The vulnerability can be exploited remotely with low attack complexity and requires no privileges or user interaction. The attack vector is network-accessible, making it particularly concerning for networked applications using the affected flatbuffers versions (RustSec).

Mitigation and workarounds

The vulnerability has been patched in version 2.0.0 and later of the flatbuffers crate. Users should upgrade to these patched versions. Versions prior to 0.4.0 are not affected by this vulnerability (RustSec).

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

RUSTSEC-2026-0256NONEN/A
  • Rust logoRust
  • circular-buffer
NoYesAug 11, 2026
RUSTSEC-2026-0255NONEN/A
  • Rust logoRust
  • sized-chunks
NoNoAug 11, 2026
RUSTSEC-2026-0254NONEN/A
  • Rust logoRust
  • sp-sized-chunks
NoNoAug 11, 2026
RUSTSEC-2026-0252NONEN/A
  • Rust logoRust
  • orx-split-vec
NoYesAug 11, 2026
RUSTSEC-2026-0242NONEN/A
  • Rust logoRust
  • dcrypt-api
NoYesAug 09, 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