Vulnerability DatabaseRUSTSEC-2020-0007

RUSTSEC-2020-0007
Rust vulnerability analysis and mitigation

Overview

A critical security vulnerability was discovered in the bitvec crate versions before 0.17.4 for Rust, identified as RUSTSEC-2020-0007 (CVE-2020-35862). The vulnerability was related to BitVec to BitBox conversion operations that could lead to memory corruption issues. The issue was disclosed and documented on December 31, 2020 (NVD).

Technical details

The vulnerability manifests during BitVec to BitBox conversion operations, potentially resulting in either a use-after-free condition or a double free scenario. The issue received a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating its severe nature. The vulnerability was classified under CWE-416 (Use After Free) and CWE-415 (Double Free) (NVD).

Impact

The vulnerability could lead to memory corruption, potentially allowing attackers to execute arbitrary code, cause program crashes, or manipulate memory in unexpected ways. The high CVSS score indicates that successful exploitation could result in complete compromise of the affected system's confidentiality, integrity, and availability (NVD).

Exploitability

The vulnerability was discovered through testing and reported via GitHub. A reproducible test case was created demonstrating the issue primarily on macOS systems, though the vulnerability could potentially affect other platforms. The issue was consistently reproducible across multiple versions of Rust (1.36.0 through 1.42.0) and bitvec (0.11.0 through 0.17.3) (GitHub Issue).

Mitigation and workarounds

The vulnerability was fixed in bitvec version 0.17.4. Users are strongly advised to upgrade to this version or later to mitigate the risk. No alternative workarounds were officially documented (NVD).

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

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
RUSTSEC-2026-0258NONEN/A
  • Rust logoRust
  • h2
NoYesAug 17, 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