Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. bitvec
  4. ›
  5. CVE-2020-35862

CVE-2020-35862: Use after free and double free in bitvec

August 25, 2021

An issue was discovered in the bitvec crate before 0.17.4 for Rust. BitVec to BitBox conversion leads to a use-after-free or double free.

References

  • github.com/advisories/GHSA-7cjc-hvxf-gqh7
  • github.com/myrrlyn/bitvec
  • github.com/myrrlyn/bitvec/issues/55
  • nvd.nist.gov/vuln/detail/CVE-2020-35862
  • rustsec.org/advisories/RUSTSEC-2020-0007.html

Code Behaviors & Features

Detect and mitigate CVE-2020-35862 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.11.0 before 0.17.4

Fixed versions

  • 0.17.4

Solution

Upgrade to version 0.17.4 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-415: Double Free
  • CWE-416: Use After Free

Source file

cargo/bitvec/CVE-2020-35862.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:46 +0000.