Vulnerability
CVE-2026-6654
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.
16 advisories report this vulnerability, across 6 ecosystems.
Advisories in crates.io
-
GHSA-xphw-cqx3-667j
thin-vec: Use-After-Free and Double Free in IntoIter::drop When Element Drop Panics
-
RUSTSEC-2026-0103
Use-After-Free and Double Free in IntoIter::drop When Element Drop Panics