cve.bz

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

6.9 medium

Medium (6.9) in contain-rs bit-vec.

On this page
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.

Severity

CVSS 4.0

6.9 medium
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
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Assigned by
GitHub_M (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-68510 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-68510?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-68510?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-68510 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-68510

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-68510](https://cve.bz/cve/badge/CVE-2026-68510.svg)](https://cve.bz/cve/CVE-2026-68510)

HTML:

<a href="https://cve.bz/cve/CVE-2026-68510"><img src="https://cve.bz/cve/badge/CVE-2026-68510.svg" alt="CVE-2026-68510"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
contain-rs bit-vec< 0.10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14rust-bit-vecno fix listedDEBIAN-CVE-2026-68510

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON