CVE-2026-6654Published Apr 20, 2026 · Apr 20Updated Oct 28
Use-After-Free and Double-Free in IntoIter::drop when element drop panics
Mozilla thin-vec
High7.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| thin-vec crates.io |
|
|
Original description
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.
From the CVE record · mozilla