CVE-2026-6654
MEDIUM 5.1CVSS 3.1thin-vec: Use-After-Free and Double Free in IntoIter::drop When Element Drop Panics
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.
- Published
- 20 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security@mozilla.org
- NVD status
- Modified
- Weakness
- CWE-1341CWE-415CWE-416
- Also known as
- GHSA-xphw-cqx3-667jRUSTSEC-2026-0103
- Sources
- NVDJSONOSV GHSA-xphw-cqx3-667jJSONOSV RUSTSEC-2026-0103JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mozilla | thin-veccpe:2.3:a:mozilla:thin-vec:0.2.15:*:*:*:*:rust:*:* |
= 0.2.15 | |
| OSV | crates.io | thin-vec | < 0.2.16 | 0.2.16 |
| OSV | crates.io | thin-vec | >= 0.0.0-0, < 0.2.16 | 0.2.16 |
References
- https://github.com/mozilla/thin-vec/security/advisories/GHSA-xphw-cqx3-667j · Exploit, Vendor Advisory, WEB
- https://access.redhat.com/security/cve/CVE-2026-6654
- https://bugzilla.redhat.com/show_bug.cgi?id=2459689
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6654.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-6654 · ADVISORY
- https://github.com/mozilla/thin-vec · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0103.html · WEB, ADVISORY
- https://crates.io/crates/thin-vec · PACKAGE
- https://github.com/mozilla/thin-vec/commit/df64748355222525c344ecd9d2c9f59a662e1678 · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 20 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Apr 2026)