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

State
Published
Severity
6.9 Medium
Published
Nov 13, 2026
Updated
Nov 18, 2026
Reserved
Jul 30, 2026

Read the record on cve.org

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.

ProductVersions
bit-vec contain-rs< 0.10.0 Affected

Weaknesses

  • CWE-20 Improper Input Validation

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.