CVE-2021-31162

rust: double free in Vec::from_iter function if freeing the element panics

Published Apr 14, 2021 CVSS 3.1 · 9.8 Critical EPSS 2.9% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-18076 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.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00832}

epss

{'score': 0.00827}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 10:55 PM
Reserved
Apr 14, 2021, 12:00 AM
Status
Modified
Published
Apr 14, 2021, 7:15 AM
Modified
Jun 17, 2026, 3:51 AM
Severity
Moderate
Public date
Mar 28, 2021, 12:00 AM