Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Thin-Vec | 0.2.15 |
Related Weaknesses (CWE)
References
- https://github.com/mozilla/thin-vec/security/advisories/GHSA-xphw-cqx3-667jExploitVendor Advisory
FAQ
What is CVE-2026-6654?
CVE-2026-6654 is a vulnerability with a CVSS score of 5.1 (MEDIUM). 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 severe is CVE-2026-6654?
CVE-2026-6654 has been rated MEDIUM with a CVSS base score of 5.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-6654?
Check the references section above for vendor advisories and patch information. Affected products include: Mozilla Thin-Vec.