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

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 22 Apr 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1341
References
Metrics threat_severity

None

threat_severity

Important


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

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mozilla

Published:

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 : Awaiting Analysis

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

Modified: 2026-04-20T19:05:30.750

Link: CVE-2026-6654

cve-icon Redhat

Severity : Important

Publid Date: 2026-04-20T10:05:52Z

Links: CVE-2026-6654 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T07:30:11Z

Weaknesses