{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-6654","id":"CVE-2026-6654","title":"Use-After-Free and Double-Free in IntoIter::drop when element drop panics","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.","descriptionLong":"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":"2026-04-20T10:05:52.339Z","updated":"2026-10-28T02:30:26.069681478Z","reserved":"2026-04-20T07:02:28.158Z","status":"Modified","rejected":false,"assigner":"mozilla","metric":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},"metrics":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"version":"3.1","score":5.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","rating":"high","source":"redhat-SADP"},{"version":"3.1","score":5.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","rating":"high","source":"GitHub"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Mozilla thin-vec"],"affectedProducts":[{"vendor":"Mozilla","product":"thin-vec","defaultStatus":"unknown","versions":[{"status":"unaffected","version":"0.2.16","lessThanOrEqual":"*","versionType":"rpm"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"thin-vec","purl":"pkg:cargo/thin-vec","ranges":["<0.2.16",">=0.0.0-0 <0.2.16"],"fixed":["0.2.16"],"advisory":"GHSA-xphw-cqx3-667j"}],"cwes":["CWE-415","CWE-416","CWE-1341"],"aliases":["GHSA-xphw-cqx3-667j","RUSTSEC-2026-0103"],"references":[{"url":"https://github.com/mozilla/thin-vec/security/advisories/GHSA-xphw-cqx3-667j","tags":["Exploit","Vendor Advisory","advisory","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-6654","tags":["vdb-entry","x_refsource_REDHAT","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2459689","tags":["issue-tracking","x_refsource_REDHAT","report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6654.json","tags":["x_sadp-csaf-vex","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6654.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6654","tags":["advisory"]},{"url":"https://github.com/mozilla/thin-vec","tags":["package"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0103.html","tags":["web","advisory"]},{"url":"https://crates.io/crates/thin-vec","tags":["package"]},{"url":"https://github.com/mozilla/thin-vec/commit/df64748355222525c344ecd9d2c9f59a662e1678","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00171,"epssPercentile":0.06649,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-6654","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6654","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-6654","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xphw-cqx3-667j","ok":true,"note":"GHSA-xphw-cqx3-667j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-6654","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}