CVE-2026-6654

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

State
Published
Severity
5.1 Medium
Published
Apr 20, 2026
Updated
Jul 15, 2026
Reserved
Apr 20, 2026

Read the record on cve.org

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

CVSSScoreVectorSource
3.15.1 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NCISA-ADP
3.17.3 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:Hredhat-SADP

Weaknesses

Affected Products

ProductVersions
thin-vecMozilla
  • 0.2.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.