Improper input validation in bit-vec Rust crate after deserialization
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
The bit-vec Rust crate from contain-rs is affected before 0.10.0. Improper input validation lets a user who deserializes a BitVec from an untrusted source reach undefined behavior when calling the unsafe get_unchecked method, which can cause incorrect behavior in later operations on the deserialized value (CWE-20). An unauthenticated remote attacker can trigger it by supplying crafted serialized data to an application that deserializes it, with a local impact on availability.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| contain-rs | bit-vec | before 0.10.0 | 0.10.0 | Patch available | CNA |
- bit-vec Vendorcontain-rs Affected before 0.10.0 Fixed in 0.10.0 Patch available CNA
Remediation
Upgrade bit-vec to version 0.10.0, which fixes the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
- Fix · CNA bit-vec (contain-rs) Fixed in 0.10.0
Timeline
- 2026-11-13 Threatist record created from CVE-2026-68510
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences