CVE-2026-6654

MEDIUM

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

Title source: cna

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.0001
EPSS Percentile 1.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Details

CWE
CWE-415 CWE-416
Status published
Products (1)
Mozilla/thin-vec 0.2.16
Published Apr 20, 2026
Tracked Since Apr 20, 2026