Skip to main content
VulnerabilityPublished Updated

CVE-2026-6654: Rust thin vec · Double-Free / Use-After-Free (UAF) in the IntoIter::drop and ThinVec::clear functions

Affects rust-thin-vecSource GCVE Database

0
Compare
Authoritative record:CVE-2026-6654· Medium 5.1

Not known to be exploited · CVSS 5.1 Medium.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 3.1 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10rust-thin-vecpkg:deb/ubuntu/rust-thin-vec?arch=source&distro=stonkingOther threatsAffected
  • =0.2.13-2
  • =0.2.17-1
Fixed in–
Ubuntu 26.04 LTSrust-thin-vecpkg:deb/ubuntu/rust-thin-vec?arch=source&distro=resoluteOther threatsAffected
  • =0.2.13-2
Fixed in–
Ubuntu 25.10rust-thin-vecpkg:deb/ubuntu/rust-thin-vec?arch=source&distro=questingOther threatsAffected
  • =0.2.13-2
Fixed in–
Ubuntu 24.04 LTSrust-thin-vecpkg:deb/ubuntu/rust-thin-vec?arch=source&distro=nobleOther threatsAffected
  • =0.2.13-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…