CVE-2026-6654
Use-After-Free and Double-Free in IntoIter::drop when element drop panics
- State
- Published
- Severity
- 5.1 Medium
- Published
- Apr 20, 2026
- Updated
- Jul 15, 2026
- Reserved
- Apr 20, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.1 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | CISA-ADP |
| 3.1 | 7.3 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H | redhat-SADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
thin-vecMozilla |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.