{"id":"CVE-2020-36318","details":"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.","modified":"2026-05-18T13:02:20.919608Z","published":"2021-04-11T20:15:12.500Z","references":[{"type":"FIX","url":"https://github.com/rust-lang/rust/issues/79808"},{"type":"FIX","url":"https://github.com/rust-lang/rust/pull/79814"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rust-lang/rust","events":[{"introduced":"7eac88abb2e57e752f3302f02be5f3ce3d7adfb4"},{"fixed":"e1884a8e3c3e813aada8254edfa120e85bf5ffca"}],"database_specific":{"source":"CPE_FIELD","extracted_events":[{"introduced":"1.48.0"},{"fixed":"1.49.0"}],"cpe":"cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*"}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-36318.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}