CVE-2021-31162

CRITICAL

Rust < 1.52.0 - Double Free

Title source: rule

Description

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.

Scores

CVSS v3 9.8
EPSS 0.0182
EPSS Percentile 82.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE
CWE-415
Status published

Affected Products (4)

rust-lang/rust < 1.52.0
fedoraproject/fedora
fedoraproject/fedora
fedoraproject/fedora

Timeline

Published Apr 14, 2021
Tracked Since Feb 18, 2026