CVE-2026-6654

MEDIUM

Use-After-Free and Double-Free in IntoIter::drop when element drop panics

Title source: cna
STIX 2.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.

Scores

CVSS v3 5.1
EPSS 0.0014
EPSS Percentile 3.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-415 CWE-416
Status published
Products (3)
crates.io/thin-vec 0 - 0.2.16crates.io
mozilla/thin-vec 0.2.15
Mozilla/thin-vec 0.2.16
Published Apr 20, 2026
Tracked Since Apr 20, 2026