CVE-2020-36318

rust: use-after-free or double free in VecDeque::make_contiguous

Published Apr 11, 2021 CVSS 3.1 · 9.8 Critical EPSS 1.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2020-23860 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 5:23 PM
Reserved
Apr 11, 2021, 12:00 AM
Status
Modified
Published
Apr 11, 2021, 8:15 PM
Modified
Jun 17, 2026, 3:15 AM
Severity
Moderate
Public date
Dec 7, 2020, 12:00 AM