CVE-2026-6654 Use-After-Free and Double-Free in IntoIter::drop when element drop panics
MediumCVSS 5.1
EPSS 0.17%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
9 packages: 2 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/rust-thin-vec(Debian 13) | = 0.2.13-2; = 0.2.17-1; = 0.2.21-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-thin-vec(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/rust-thin-vec(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/rust-thin-vec(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| crates.io thin-vec(crates.io) | < 0.2.16; >= 0.0.0-0, < 0.2.16 | 0.2.16 | Fixed |
| debian/rust-thin-vec(Debian 14) | < 0.2.17-1; = 0.2.13-2 | 0.2.17-1 | Fixed |
| mozilla thin-vec | = 0.2.15 | No fix listed | Versions listed |
| redhat enterprise linux | = 7; = 8; = 9; = 10 | No fix listed | Versions listed |
| redhat enterprise linux ai | = 3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io thin-vec(crates.io) | < 0.2.16 | 0.2.16 |
| crates.io thin-vec(crates.io) | >= 0.0.0-0, < 0.2.16 | 0.2.16 |
| redhat enterprise linux | = 10 | No fix listed |
| redhat enterprise linux | = 7 | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
| redhat enterprise linux | = 9 | No fix listed |
| redhat enterprise linux ai | = 3 | No fix listed |
| debian/rust-thin-vec(Debian:13) | All versions | No fix listed |
| debian/rust-thin-vec(Debian:13) | = 0.2.13-2 | No fix listed |
| debian/rust-thin-vec(Debian:13) | = 0.2.17-1 | No fix listed |
| debian/rust-thin-vec(Debian:13) | = 0.2.21-1 | No fix listed |
| debian/rust-thin-vec(Debian:14) | < 0.2.17-1 | 0.2.17-1 |
| debian/rust-thin-vec(Debian:14) | = 0.2.13-2 | No fix listed |
| ubuntu/rust-thin-vec(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/rust-thin-vec(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/rust-thin-vec(Ubuntu:26.10) | All versions | No fix listed |
| mozilla thin-vec | = 0.2.15 | No fix listed |
References
- github.com exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com
- Red Hat CVE page vdb-entry vendor-advisory
- RHBZ#2459689 issue-tracking
- security.access.redhat.com
- github.com
- www.cve.org
- Debian Security Tracker CVE-2026-6654 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking