Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2021-31162 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://github.com/rust-lang/rust/issues/83618 CVEExploitThird Party Advisory
https://github.com/rust-lang/rust/pull/83629 CVEPatchThird Party Advisory
https://github.com/rust-lang/rust/pull/84603 CVEPatchThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/ CVE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TFUO3URYCO73D2Q4WYJBWAMJWGGVXQO4/ CVE

see all 14 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-415Double Free[email protected]

Affected Products

ProductVersions
rust-lang rust
>= 1.48.0, < 1.52.0

CPE

  • cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
fedoraproject fedora
32
33
34

CPE

  • cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

13 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2021-31162
NVD Published Date:
Apr 14, 2021
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2021-31162 Details - Not Deferred