CVE-2021-31162: rust: double free in Vec::from_iter function if freeing the element panics

Severity: Critical

CVSS Score: 9.8

In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if freeing the element panics.