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.
Published: 2021-04-14
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

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

Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00832}

epss

{'score': 0.00827}


Subscriptions

Fedoraproject Fedora
Redhat Devtools Enterprise Linux
Rust-lang Rust
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-03T22:55:53.384Z

Reserved: 2021-04-14T00:00:00.000Z

Link: CVE-2021-31162

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-04-14T07:15:12.227

Modified: 2024-11-21T06:05:12.647

Link: CVE-2021-31162

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-03-28T00:00:00Z

Links: CVE-2021-31162 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses