Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-68510 EUVD-2026-125717

bit-vec: unsoundness arising with `deserialize` then `get_unchecked`

Published Nov 13, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
contain-rs bit-vec < 0.10.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-bit-vec No fix yet —
Debian 13 rust-bit-vec No fix yet —
Debian 12 rust-bit-vec No fix yet —

References