A double free can occur in removeset upon a panic in a Drop impl. When removing a set of elements, ptr::dropin_place is called on each of the element to be removed. If the Drop impl of one of these elements panics then the previously dropped elements can be dropped again.
{ "nvd_published_at": null, "cwe_ids": [ "CWE-415" ], "severity": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2021-08-19T17:04:15Z" }