CVE-2020-36318

CRITICAL

Rust 1.48.0-1.48.4 - Use-After-Free in VecDeque::make_contiguous

Title source: llm
STIX 2.1

Description

In the standard library in Rust before 1.49.0, VecDeque::make_contiguous has a bug that pops the same element more than once under certain condition. This bug could result in a use-after-free or double free.

References (2)

Core 2
Core References
Exploit, Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://github.com/rust-lang/rust/issues/79808
Patch, Third Party Advisory x_refsource_misc
https://github.com/rust-lang/rust/pull/79814

Scores

CVSS v3 9.8
EPSS 0.0169
EPSS Percentile 74.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-415 CWE-416
Status published
Products (1)
rust-lang/rust 1.48.0 - 1.49.0
Published Apr 11, 2021
Tracked Since Feb 18, 2026