CVE 5.1 MEDIUM

Use-After-Free and Double-Free in IntoIter::drop when element drop panics_CVE-2026-6654

5.1 / 10
MEDIUM
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

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.

Basic Information

ID CVE-2026-6654
Source mozilla
Published Apr 20, 2026 at 10:05
Modified Apr 20, 2026 at 13:14

Affected Product

Vendor Mozilla
Product thin-vec
Version 0.2.16

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.