CVE-2020-35866
Rust vulnerability analysis and mitigation

Overview

An issue was discovered in the rusqlite crate before version 0.23.0 for Rust, identified as CVE-2020-35866. The vulnerability relates to memory safety violations that can occur through VTab / VTabCursor implementations. This security flaw was discovered during an audit of the unsafe code in the crate and was disclosed on December 31, 2020 (MITRE CVE, NVD).

Technical details

The vulnerability received a CVSS v3.1 score of 9.8 (CRITICAL) and a CVSS v2.0 score of 7.5 (HIGH). The core issue stems from the unsoundness of the VTab / VTabCursor trait implementations, which could lead to memory safety violations if implemented incorrectly. The vulnerability was addressed by making VTab / VTabCursor unsafe traits, as implementing them on the wrong type was fundamentally unsound (GitHub Release).

Impact

The vulnerability could lead to memory safety violations in applications using the affected versions of the rusqlite crate. This issue primarily impacts APIs exposed through features, meaning that applications using rusqlite under default features were not affected (RustSec Advisory).

Exploitability

The vulnerability requires the implementation of VTab / VTabCursor traits in an application using the rusqlite crate. The issue was discovered during a security audit, and there are no public reports of this vulnerability being exploited in the wild (GitHub Release).

Mitigation and workarounds

The vulnerability was fixed in rusqlite version 0.23.0. Users should upgrade to this version or later to address the security issue. The fix involved making VTab / VTabCursor unsafe traits, with plans for a safe VTab API in the future (GitHub Release).

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-46369HIGH7.5
  • Rust logoRust
  • nimiq-blockchain
NoYesAug 12, 2026
GHSA-8rw6-p7m8-63jpMEDIUM6.5
  • Rust logoRust
  • surrealdb
NoYesAug 14, 2026
CVE-2026-73430MEDIUM5.3
  • Rust logoRust
  • russh
NoYesAug 12, 2026
CVE-2026-73429MEDIUM5.3
  • Rust logoRust
  • yazi
NoYesAug 12, 2026
CVE-2026-73489MEDIUM4.3
  • Rust logoRust
  • russh
NoYesAug 13, 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