Use-After-Free and Double-Free in IntoIter::drop when element drop panics
Summary
| CVE | CVE-2026-6654 |
|---|---|
| State | PUBLISHED |
| Assigner | mozilla |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-20 11:16:19 UTC |
| Updated | 2026-04-20 11:16:19 UTC |
| 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. |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/mozilla/thin-vec/security/advisories/GHSA-xphw-cqx3-667j | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Juhyung Son (en)
There are currently no legacy QID mappings associated with this CVE.