{"id":"RUSTSEC-2018-0009","revision":"b5a632dd392d40b985d428fc2c4c3946","records":[{"revision":"b5a632dd392d40b985d428fc2c4c3946","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2018-0009","aliases":["CVE-2018-20996","GHSA-c3cw-c387-pj65"],"title":"MsQueue and SegQueue suffer from double-free","description":"Even if an element is popped from a queue, crossbeam would run its\ndestructor inside the epoch-based garbage collector. This is a source\nof double frees.\n\nThe flaw was corrected by wrapping elements inside queues in a\n`ManuallyDrop`.\n\nThanks to [@c0gent](https://github.com/c0gent) for reporting the issue.","state":0,"publishedAt":"2018-12-09T12:00:00+00:00","modifiedAt":"2026-07-17T16:00:03.2189847+00:00","affected":[{"ecosystem":"crates.io","name":"crossbeam","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.4.0"},{"kind":"fixed","version":"0.4.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null}],"references":["https://crates.io/crates/crossbeam","https://rustsec.org/advisories/RUSTSEC-2018-0009.html","https://github.com/crossbeam-rs/crossbeam-epoch/issues/82"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2018-0009","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2018-0009","identifiers":["RUSTSEC-2018-0009","CVE-2018-20996","GHSA-c3cw-c387-pj65"]},"retained":false,"historicalAffected":[]}],"coverage":[]}