CVE-2026-6654: Vulnerability in Mozilla thin-vec
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.
AI Analysis
Technical Summary
This vulnerability in the thin-vec crate arises from improper handling of memory during the drop and clear operations. Specifically, a panic triggered in ptr::drop_in_place causes the length field not to be set to zero, resulting in double-free and use-after-free conditions. These memory safety issues correspond to CWE-415 (Double Free), CWE-416 (Use After Free), and CWE-1341. The CVSS 3.1 base score is 5.1, reflecting a medium severity with local attack vector, low complexity, no privileges required, no user interaction, unchanged scope, and low confidentiality and integrity impacts without availability impact.
Potential Impact
The vulnerability can lead to memory corruption through double-free or use-after-free conditions, potentially causing crashes or undefined behavior in applications using the affected thin-vec crate. The confidentiality and integrity impacts are low, and there is no availability impact. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The Red Hat advisory linked does not explicitly state a fix or mitigation. Users should monitor the vendor advisory for updates and apply any official patches once available.
CVE-2026-6654: Vulnerability in Mozilla thin-vec
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 v3.1
Score 5.1medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in the thin-vec crate arises from improper handling of memory during the drop and clear operations. Specifically, a panic triggered in ptr::drop_in_place causes the length field not to be set to zero, resulting in double-free and use-after-free conditions. These memory safety issues correspond to CWE-415 (Double Free), CWE-416 (Use After Free), and CWE-1341. The CVSS 3.1 base score is 5.1, reflecting a medium severity with local attack vector, low complexity, no privileges required, no user interaction, unchanged scope, and low confidentiality and integrity impacts without availability impact.
Potential Impact
The vulnerability can lead to memory corruption through double-free or use-after-free conditions, potentially causing crashes or undefined behavior in applications using the affected thin-vec crate. The confidentiality and integrity impacts are low, and there is no availability impact. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The Red Hat advisory linked does not explicitly state a fix or mitigation. Users should monitor the vendor advisory for updates and apply any official patches once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mozilla
- Date Reserved
- 2026-04-20T07:02:28.158Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-6654","vendor":"Red Hat"}]
Threat ID: 69e603f619fe3cd2cdd9a5d7
Added to database: 04/20/2026, 10:46:14 UTC
Last enriched: 07/15/2026, 09:36:25 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 132
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.