CVE-2026-6654: Double-Free / Use-After-Free (UAF) in the `IntoIter::drop` and `ThinVec::clear` functions in the thin_vec crat
CVE-2026-6654 is a medium-severity flaw (CVSS 5.1) affecting thin-vec. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Double-Free / Use-After-Free (UAF) in the `IntoIter::drop` and `ThinVec::clear` functions in the thin_vec crate. A panic in `ptr::drop_in_place` skips setting the length to zero.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-6654?
thin-vec: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2026-6654 being exploited?
CVE-2026-6654 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-6654 affect?
CVE-2026-6654 affects thin-vec. Severity is medium (CVSS 5.1). Double-Free / Use-After-Free (UAF) in the `IntoIter::drop` and `ThinVec::clear` functions in the thin_vec crate. A panic in `ptr::drop_in_place` skips setting the length to zero.
How urgent is CVE-2026-6654?
Priority 24/100. Public exploit reference