CVE-2026-6654
thin-vec: mozilla/thin-vec: Memory corruption vulnerability via Double-Free/Use-After-Free
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 20, 2026
Updated · November 5, 2026
Description
A flaw was found in the thin_vec component of mozilla/thin-vec. This vulnerability involves a memory management error known as a Double-Free/Use-After-Free (UAF), which occurs in the IntoIter::drop and ThinVec::clear functions. When a specific error condition (a panic in ptr::drop_in_place) is triggered, the system fails to correctly manage memory, potentially allowing an attacker to execute malicious code or cause the application to crash, leading to a denial of service.
Statement
This vulnerability affects version 0.2.15 of thin-vec, which is not included in any Red Hat products.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.3CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
CWE-1341 · Multiple Releases of Same Resource or Handle