CVE-2026-6654

Source
https://cve.org/CVERecord?id=CVE-2026-6654
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-6654.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-6654
Aliases
Downstream
Related
Published
2026-04-20T10:05:52.339Z
Modified
2026-07-08T08:10:01.088978375Z
Severity
  • 5.1 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Use-After-Free and Double-Free in IntoIter::drop when element drop panics
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6654.json",
    "cna_assigner": "mozilla"
}
References

Affected packages

Git / github.com/mozilla/thin-vec

Affected ranges

Type
GIT
Repo
https://github.com/mozilla/thin-vec
Events
Database specific
{
    "source": "CPE_STRING",
    "cpe": "cpe:2.3:a:mozilla:thin-vec:0.2.15:*:*:*:*:rust:*:*",
    "extracted_events": [
        {
            "introduced": "0.2.15"
        },
        {
            "last_affected": "0.2.15"
        }
    ]
}

Affected versions

0.*
0.2.15
v0.*
v0.2.15

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-6654.json"