CVE-2026-6654: mozilla thin-vec Double Free
CVSS: 5.1v3.1MediumModified
AliasesUBUNTU-CVE-2026-6654DEBIAN-CVE-2026-6654CGA-8cw7-mpqc-p92cCGA-m433-637j-m4wqCGA-q4gj-6qjg-jv39CGA-qrxj-x744-w7r6CGA-r8fv-v9m7-jf56CGA-vcph-q85r-384cCGA-5896-hm2m-jm2pGHSA-xphw-cqx3-667jRUSTSEC-2026-0103CGA-qpx4-h86r-822g
Published 20-04-2026Last modified 15-07-2026
Vulnerability summary
CVE-2026-6654 is a medium (CVSS 5.1) Double Free vulnerability in mozilla thin-vec. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 4.9% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
5.1/10
010
Medium · v3.1 (CVE.org)EPSS score
0.16%
0%100%
Low · -0.01 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 20-04-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
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 metrics
7 scores · 7 sources · 1 versionMedium 5.1Preferred score · CVE.org (CNA)
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NSources7 sources · 5.1–7.3
- OSV · UbuntuEcosystem advisory · calculated5.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated5.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated5.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated5.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- OSV · Crates.ioEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HDiffers
- NVDNIST5.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.16%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
-0.01 pp
From 0.17% on 20-09-2026
20-09-202620-10-2026
EPSS score0.16%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundThin Vec
Maturity: poc
Weaknesses
CWE · root cause- CWE-415Double FreeThe product calls free() twice on the same memory address.
- CWE-416Use After FreeThe product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
- CWE-1341Multiple Releases of Same Resource or HandleThe product attempts to close or release a resource or handle more than once, without any successful open between the close operations.
Affected systems
Chainguard4 products
- ruff< 0.15.11-r0 | < 0.15.10-r0
- ruff-python-formatter< 0.15.10-r0 | < 0.15.11-r0
- rust-analyzer< 20260413-r1
- typst< 0.14.2-r5
Wolfi3 products
- ruff< 0.15.11-r0 | < 0.15.10-r0
- ruff-python-formatter< 0.15.10-r0 | < 0.15.11-r0
- rust-analyzer< 20260413-r1
Crates.Io1 product
- thin-vec< 0.2.16 | ≥ 0.0.0-0, < 0.2.16
Debian1 product
- rust-thin-vecAll versions (No fix recorded) | < 0.2.17-1
Mozilla1 product
- thin-vec0.2.15
Ubuntu1 product
- rust-thin-vecAll versions (No fix recorded)
6 vendors · 11 products
References
13 links- github.com/mozilla/thin-vec/security/advisories/GHSA-xphw-cqx3-667jREPORTAdvisoryWEBExploitVendor Advisory
- github.com/mozilla/thin-vecPACKAGE
Show all 13 references
- crates.io/crates/thin-vecPACKAGE