Medium severity · published Apr 20, 2026
CVE-2026-6654
Use-After-Free and Double-Free in IntoIter::drop when element drop panics
5.1
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 6% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
TH
Thin-vec · Mozilla
0.2.15 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-6654
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-6654
Exploit
https://github.com/mozilla/thin-vec/security/advisories/GHSA-xphw-cqx3-667j
access.redhat.com
https://access.redhat.com/security/cve/CVE-2026-6654
bugzilla.redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2459689
security.access.redhat.com
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6654.json
