high7.3
CVE-2026-6654
Double-Free / Use-After-Free (UAF) in the `IntoIter::drop` and `ThinVec::clear` functions in the thin_vec crate.
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | thin-vec | < 0.2.16 | 0.2.16 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Mozilla | Thin-Vec | Version 0.2.15 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-xphw-cqx3-667j
- https://github.com/mozilla/thin-vec/security/advisories/GHSA-xphw-cqx3-667j
- https://nvd.nist.gov/vuln/detail/CVE-2026-6654
- https://rustsec.org/advisories/RUSTSEC-2026-0103.html
- https://access.redhat.com/security/cve/CVE-2026-6654
- https://bugzilla.redhat.com/show_bug.cgi?id=2459689
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6654.json