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.
History

Mon, 20 Apr 2026 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Mozilla
Mozilla thin-vec
Vendors & Products Mozilla
Mozilla thin-vec

Mon, 20 Apr 2026 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-415
Metrics cvssV3_1

{'score': 5.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 20 Apr 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Mon, 20 Apr 2026 10:45:00 +0000

Type Values Removed Values Added
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.
Title Use-After-Free and Double-Free in IntoIter::drop when element drop panics
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mozilla

Published: 2026-04-20T10:05:52.339Z

Updated: 2026-04-20T13:14:37.846Z

Reserved: 2026-04-20T07:02:28.158Z

Link: CVE-2026-6654

cve-icon Vulnrichment

Updated: 2026-04-20T13:14:31.022Z

cve-icon NVD

Status : Received

Published: 2026-04-20T11:16:19.937

Modified: 2026-04-20T14:16:23.797

Link: CVE-2026-6654

cve-icon Redhat

No data.