# CVE-2026-6654

> Vulnerability · severity: **MEDIUM** (CVSS 5.1).

## 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.

## Key facts

- **CVE ID:** CVE-2026-6654
- **Published:** 2026-04-20
- **CVSS severity:** MEDIUM
- **CVSS base score:** 5.1
- **CWE codes:** CWE-415, CWE-416

## Affected products

- `mozilla:thin-vec`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-6654

## Citation

> AI Analytics. CVE-2026-6654. Retrieved 2026-07-20 from https://api.ai-analytics.org/cve/CVE-2026-6654. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*