Use-After-Free and Double Free Vulnerability in Rust Standard Library
CVE-2020-36318
9.8CRITICAL
What is CVE-2020-36318?
The standard library in Rust prior to version 1.49.0 contains a flaw in the VecDeque::make_contiguous function that can lead to a use-after-free or double free condition. This issue arises when the function incorrectly pops the same element multiple times under specific circumstances, potentially causing memory corruption and unpredictable behavior in applications relying on this implementation.