CVE-2026-68510: bit-vec: unsoundness arising with `deserialize` then `get_unchecked`

Published Nov 13, 2026
·
Updated

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 getunchecked. 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.

Affected Software

5 affected components
debian/rust-bit-vec*
debian/rust-bit-vec*
debian/rust-bit-vec*
debian/rust-bit-vec<=0.6.3-1, <=0.8.0-1, <=0.8.0-2
crates.io/bit-vec<0.10.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.10.0

Event History

Nov 13, 2026
CVE Published
via MITRE·06:57 PM
Data Sourced
via MITRE·06:57 PM
DescriptionWeakness

Frequently Asked Questions

1

Who is affected by this issue?

Applications using bit-vec versions before 0.10.0 may be affected if they deserialize BitVec data from an untrusted source and then perform unsafe get_unchecked operations or other operations on the deserialized BitVec.

2

What must an attacker be able to do to trigger the issue?

An attacker needs to supply untrusted serialized input that the application deserializes into a BitVec. The application must subsequently run unsafe get_unchecked on that data for the described undefined behavior to occur.

3

Are applications using only trusted serialized data exposed?

The described condition specifically involves deserialization from an untrusted source. The provided information does not indicate that trusted serialized input alone triggers the issue.

4

What is the remediation?

Upgrade bit-vec to version 0.10.0, which patches the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203