{"schemaVersion":3,"id":"CVE-2026-6654","aliases":["UBUNTU-CVE-2026-6654","DEBIAN-CVE-2026-6654","CGA-8cw7-mpqc-p92c","CGA-m433-637j-m4wq","CGA-q4gj-6qjg-jv39","CGA-qrxj-x744-w7r6","CGA-r8fv-v9m7-jf56","CGA-vcph-q85r-384c","CGA-5896-hm2m-jm2p","GHSA-xphw-cqx3-667j","RUSTSEC-2026-0103","CGA-qpx4-h86r-822g"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-04-20T10:05:52.339Z","modified":"2026-07-15T00:41:16.230Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":6.4,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":6.4,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":5.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":6.4,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":6.4,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","exploitability":6.4,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00161,"percentile":0.04931,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.006999999999999997,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00168},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00161,"percentile":0.04931}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00161,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00161,"percentile":0.04931}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_MOZILLA_THIN-VEC","name":"Thin Vec","source":"github","url":"https://github.com/mozilla/thin-vec/security/advisories/GHSA-xphw-cqx3-667j","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-415","name":"Double Free","description":"The product calls free() twice on the same memory address.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/415.html"},{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"},{"id":"CWE-1341","name":"Multiple Releases of Same Resource or Handle","description":"The product attempts to close or release a resource or handle more than once, without any successful open between the close operations.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1341.html"}],"affected":[{"vendor":"chainguard","product":"ruff","name":"ruff","label":"ruff","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ruff","purlType":"apk","versions":[{"text":"< 0.15.11-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 0.15.10-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.15.11-r0 | < 0.15.10-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"ruff-python-formatter","name":"ruff-python-formatter","label":"ruff-python-formatter","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ruff-python-formatter","purlType":"apk","versions":[{"text":"< 0.15.10-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 0.15.11-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.15.10-r0 | < 0.15.11-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"rust-analyzer","name":"rust-analyzer","label":"rust-analyzer","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/rust-analyzer","purlType":"apk","versions":[{"text":"< 20260413-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 20260413-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"typst","name":"typst","label":"typst","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/typst","purlType":"apk","versions":[{"text":"< 0.14.2-r5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.14.2-r5","eol":null,"hubHref":null},{"vendor":"wolfi","product":"ruff","name":"ruff","label":"ruff","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/ruff","purlType":"apk","versions":[{"text":"< 0.15.11-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 0.15.10-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.15.11-r0 | < 0.15.10-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"ruff-python-formatter","name":"ruff-python-formatter","label":"ruff-python-formatter","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/ruff-python-formatter","purlType":"apk","versions":[{"text":"< 0.15.10-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 0.15.11-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.15.10-r0 | < 0.15.11-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"rust-analyzer","name":"rust-analyzer","label":"rust-analyzer","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/rust-analyzer","purlType":"apk","versions":[{"text":"< 20260413-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 20260413-r1","eol":null,"hubHref":null},{"vendor":"Crates.Io","product":"thin-vec","name":"thin-vec","label":"thin-vec","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/thin-vec","purlType":"cargo","versions":[{"text":"< 0.2.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.0.0-0, < 0.2.16","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.2.16 | ≥ 0.0.0-0, < 0.2.16","eol":null,"hubHref":null},{"vendor":"debian","product":"rust-thin-vec","name":"rust-thin-vec","label":"rust-thin-vec","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/rust-thin-vec","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 0.2.17-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 0.2.17-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rust-thin-vec","name":"rust-thin-vec","label":"rust-thin-vec","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rust-thin-vec","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"mozilla","product":"thin-vec","name":"thin-vec","label":"thin-vec","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"0.2.15","noFixRecorded":false,"fixedIn":null}],"versionsText":"0.2.15","eol":null,"hubHref":"/vendor/mozilla/thin-vec"}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/mozilla/thin-vec/security/advisories/GHSA-xphw-cqx3-667j","label":"github.com/mozilla/thin-vec/security/advisories/GHSA-xphw-cqx3-667j","hostname":"github.com","tags":["REPORT","Advisory","WEB","Exploit","Vendor Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-6654","label":"access.redhat.com/security/cve/CVE-2026-6654","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2459689","label":"bugzilla.redhat.com/show_bug.cgi?id=2459689","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6654.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6654.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex","WEB"]},{"url":"https://ubuntu.com/security/CVE-2026-6654","label":"ubuntu.com/security/CVE-2026-6654","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-6654","label":"www.cve.org/CVERecord?id=CVE-2026-6654","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-6654","label":"security-tracker.debian.org/tracker/CVE-2026-6654","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6654.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6654.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6654","label":"nvd.nist.gov/vuln/detail/CVE-2026-6654","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/mozilla/thin-vec","label":"github.com/mozilla/thin-vec","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0103.html","label":"rustsec.org/advisories/RUSTSEC-2026-0103.html","hostname":"rustsec.org","tags":["WEB","Advisory"]},{"url":"https://crates.io/crates/thin-vec","label":"crates.io/crates/thin-vec","hostname":"crates.io","tags":["PACKAGE"]},{"url":"https://github.com/mozilla/thin-vec/commit/df64748355222525c344ecd9d2c9f59a662e1678","label":"github.com/mozilla/thin-vec/commit/df64748355222525c344ecd9d2c9f59a662e1678","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-955G-5FGM-8M9J"]},"timeline":[{"kind":"published","date":"2026-04-20T10:05:52.339Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-15T00:41:16.230Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T10:43:37.237Z","stale":false,"partial":false}}