Skip to main content

bit-vec EUVDEUVD-2026-125717

| CVE-2026-68510 MEDIUM
Improper Input Validation (CWE-20)
2026-11-13 GitHub_M
6.9
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious serialized BitVec
  2. Delivery
    Application deserializes untrusted input
  3. Exploit
    Length/storage invariant violated in BitVec
  4. Execution
    Downstream code calls unsafe get_unchecked
  5. Impact
    Out-of-bounds access, undefined behavior or incorrect results

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Two conditions must both hold in the consuming application: (1) it enables a bit-vec serialization feature (serde, borsh, or miniserde) and calls deserialize on data from an untrusted source, and (2) it then either invokes the unsafe get_unchecked method on that BitVec (required for undefined behavior) or runs other operations on it (sufficient only for incorrect results). Exploitation is limited by these preconditions: a program that never deserializes untrusted BitVec data, or that only uses safe indexing, is not affected. The vendor workarounds are to switch to safe indexing or validate input; the complete fix is upgrading to 0.10.0.

Impact

This is a moderate-severity Rust library soundness bug, not an urgent widespread threat. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L, score 6.9) records impact only to availability of the vulnerable system (VA:L) with no confidentiality or integrity impact - consistent with the advisory's framing as undefined behavior and incorrect results rather than data theft. No EPSS score is provided and the vuln.today decision label is 'this_month' (not act_now/emergency), so urgency is routine patching rather than emergency response. There is no CISA KEV listing and no public exploit code; the only references are the vendor security advisory (GHSA-h4f4-f333-vh4h) and the fix PR (#149). The AV:N/PR:N/UI:N metrics overstate real-world reachability in isolation: exploitation is contingent on the DOWNSTREAM application both deserializing a BitVec from an untrusted source AND subsequently invoking unsafe get_unchecked (for UB) or running operations on it (for incorrect behavior). That is a consumer-code precondition the CVSS vector cannot express, so treat the effective attack surface as narrower than a raw network-unauthenticated reading suggests. Net: a real correctness/soundness issue worth patching this cycle, but not a high-priority remote-code-execution emergency.

Exploit ScenarioDerived

An application uses bit-vec with a serialization feature (serde, borsh, or miniserde) and deserializes a BitVec from attacker-controlled input such as a network message or file. The crafted serialized data produces a BitVec whose internal length/storage invariants are inconsistent, so a later unsafe get_unchecked call performs an out-of-bounds access and triggers undefined behavior, while ordinary operations may silently return incorrect results. No public exploit code exists; only the vendor advisory and fix PR are published.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

Undefined behavior in the Rust crate bit-vec (all versions through 0.9.1) can be triggered when a consuming application deserializes a BitVec from an untrusted source and then calls the unsafe get_unchecked accessor on it; applications that merely run other operations on such a deserialized value may instead return incorrect results. Only programs that enable a bit-vec serialization feature (serde, borsh, or miniserde), deserialize attacker-influenced data, and use unchecked access are affected - code that never deserializes untrusted BitVec data or sticks to safe indexing is not exposed. The issue is rated 6.9 under CVSS 4.0 and corresponds to a CVSS 3.1 vector of AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L, i.e. a moderate-severity soundness defect with limited availability impact; no public exploit code and no confirmed active exploitation (CISA KEV) were identified at time of analysis, and version 0.10.0 contains the fix.

RemediationAI

Upgrade bit-vec to 0.10.0, which the upstream release notes explicitly mark as containing the vulnerability fix; consumers should bump the dependency in Cargo.toml (or run cargo update) and ensure the lockfile resolves to the patched release rather than a 0.9.x version. Where upgrading must be staged, the vendor-documented workarounds are to replace unsafe get_unchecked calls with safe indexing, which removes the undefined-behavior precondition at the cost of a bounds check on every access, and to validate input before deserializing, which requires the consuming application to enforce its own structural checks on the deserialized data since the crate itself does not. Disabling the serde, borsh, or miniserde features on bit-vec eliminates the deserialization entry point entirely, but breaks any functionality that depends on those integrations; because the advisory states the problem is fixed only in 0.10.0, treating a workaround as a permanent substitute is not recommended. Details are in the GitHub advisory GHSA-h4f4-f333-vh4h and the fix commit series in pull request 149.

Affected VersionsENISA

bit-vec < 0.10.0

Affected Packages

euvd bit_vec fix: 0.10.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

bit-vec is a compact Rust bit-vector crate whose serialized form is handled through optional serde, borsh, and miniserde integrations; the affected package range is rust/bit-vec <= 0.9.1 (CPE cpe:2.3:a:contain-rs:bit-vec:*:*:*:*:*:*:*:*). The root cause is classified as CWE-20 (Improper Input Validation): data accepted from an untrusted deserialization source is not validated against the invariants the rest of the API assumes, and because deserialized state flows into an unsafe accessor (get_unchecked), the Rust soundness contract can be broken. The advisory frames the impact conditionally - undefined behavior requires deserialize from an untrusted source combined with unsafe get_unchecked, while other operations on the deserialized value are only cited as potentially returning incorrect results. The precise internal mechanism by which the deserialized representation violates those invariants is not described in the available sources; what the upstream fix (PR #149) does show is that release 0.10.0 is explicitly labelled a vulnerability fix, and that the fuzzing harness was rewritten to build bit-vec with the serde, borsh, and miniserde features and to add serde/serde_json/miniserde/borsh as fuzz dependencies, indicating that the deserialization surface was the area exercised.

Know when Bit Vec gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Attacker-supplied untrusted serialized input (AV:N/PR:N/UI:N) yields only undefined behavior/incorrect results affecting availability (A:L), with no confidentiality or integrity impact per the advisory.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 13, 2026 - 20:49 EUVD

DescriptionCVE.org

bit-vec is a compact vector of bits. Prior to version 0.10.0, there is undefined behavior if a user performs deserialize from an untrusted source and unsafe get_unchecked. A user of this library may be impacted by incorrect behavior if they perform deserialize from an untrusted source and run operations on the deserialized BitVec. This issue has been patched in version 0.10.0.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Medium
popular Rust bit-manipulation crate, but impact gated on downstream unsafe usage
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy