All reports
Critical

Double-free in id-map

Affected versions

Rust / Cargoid-map
Affected versions
<= 0.2.1
Fixed version
Not reported

Exploitation

CVE-2021-30457

Probability of exploitation in the next 30 days: 1.14%

FIRST EPSS · 2026-11-24

Description

A double free can occur in remove_set upon a panic in a Drop impl. When removing a set of elements, ptr::drop_in_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.

Links