CVE-2021-31162

Related Vulnerabilities: CVE-2021-31162  

In the standard library in Rust before 1.53.0, a double free can occur in the Vec::from_iter function if freeing the element panics.

Description

The MITRE CVE dictionary describes this issue as:

In the standard library in Rust before 1.53.0, a double free can occur in the Vec::from_iter function if freeing the element panics.

Additional Information

  • Bugzilla 1950398: CVE-2021-31162 rust: double free in Vec::from_iter function if freeing the element panics
  • CWE-416: Use After Free
  • FAQ: Frequently asked questions about CVE-2021-31162