PT-2021-19197

CVE-2021-31162

·

Published

2021-04-14

·

Updated

2026-09-18

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Rust versions prior to 1.52.0
Description A double free can occur in the Vec::from iter function if freeing the element panics. This issue is related to the standard library in Rust.
Recommendations For versions prior to 1.52.0, update to version 1.52.0 or later to resolve the issue. As a temporary workaround, consider avoiding the use of the Vec::from iter function in scenarios where freeing elements might panic, until a patch is applied.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Weakness enumeration
Related identifiers
ALT-PU-2021-1761
ALT-PU-2021-1775
ALT-PU-2021-3365
ALT-PU-2022-1778
CESA-2021_3063
CLEANSTART-2026-YW17751
MGASA-2021-0251
RHSA-2021:3042
RHSA-2021:3063
RHSA-2021_3063
RLSA-2021:3063
Found an issue in the description? Have something to add? Feel free to write us 👾