Security mailing lists by PureSourceCode

CVE-2026-6654

MEDIUM 5.1CVSS 3.1

thin-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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mozilla thin-vec
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.