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

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-11-13T18:57:19.508Z
- Modified: 2026-11-18T14:17:44.500Z
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- contain-rs bit-vec: < 0.10.0

## References

- <https://github.com/contain-rs/bit-vec/security/advisories/GHSA-h4f4-f333-vh4h>
- <https://github.com/contain-rs/bit-vec/pull/149>

## Sources

- CVE List: [CVE-2026-68510](https://www.cve.org/CVERecord?id=CVE-2026-68510), CVE Terms of Use, modified 2026-11-18
- NVD: [CVE-2026-68510](https://nvd.nist.gov/vuln/detail/CVE-2026-68510), Public domain, modified 2026-11-18

---

Page: https://cve.day/CVE-2026-68510 · Whole record: https://cve.day/CVE-2026-68510.json · Rebuilt by cve.day 2026-11-25T22:59:50.777Z
