CVE-2026-6654

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

Medium · published April 20, 2026

CVSS v3.1
5.1
EPSS
0%
Percentile
5.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.1 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00161 · 5.0th percentile
Published
2026-04-20T10:05Z
EPSS history
Timeline
  • 20 APR 10:05Z
    Use-After-Free and Double-Free in IntoIter::drop when element drop panics
    cvelistv5