{"id":"CVE-2018-20996","aliases":["EUVD-2021-1671","GHSA-c3cw-c387-pj65","RUSTSEC-2018-0009","UBUNTU-CVE-2018-20996"],"status":"published","title":"Double free in crossbeam","description":"An issue was discovered in the crossbeam crate before 0.4.1 for Rust. There is a double free because of destructor mishandling.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01744,"percentile":0.77935,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-415"],"published":"2018-12-09T12:00:00Z","modified":"2026-10-24T10:30:57Z","fixes":[{"ecosystem":"crates.io","package":"crossbeam","fixed_in":["0.4.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"crossbeam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.0"},{"fixed":"0.4.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"crossbeam","ranges":[{"type":"SEMVER","events":[{"introduced":"0.4.0"},{"fixed":"0.4.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"crossbeam","ranges":[{"type":"SEMVER","events":[{"introduced":"0.4.0"},{"fixed":"0.4.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"rust-crossbeam-epoch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.1-1","0.7.2-2","0.7.2-3"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"rust-crossbeam-epoch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.2-1","0.8.2-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"rust-crossbeam-epoch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.13-1","0.9.18-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"rust-crossbeam-epoch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.18-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"rust-crossbeam-epoch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.18-1","0.9.20-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"rust-crossbeam-epoch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.18-1"]}],"products":[{"vendor":"crossbeam_project","product":"crossbeam"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2018-0009.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20996","tags":["advisory"]},{"url":"https://github.com/crossbeam-rs/crossbeam-epoch/issues/82","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-c3cw-c387-pj65"},{"url":"https://github.com/crossbeam-rs/crossbeam-epoch","tags":["package"]},{"url":"https://crates.io/crates/crossbeam","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2018-20996","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-20996","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-20996","description":"An issue was discovered in the crossbeam crate before 0.4.1 for Rust. There is a double free because of destructor mishandling.","status":"published","published":"2019-08-26T17:13:10Z","modified":"2024-08-05T12:19:27.053Z","updated_at":"2026-11-02T14:34:59.872731Z"}],"euvd":[{"id":"EUVD-2021-1671","description":"An issue was discovered in the crossbeam crate before 0.4.1 for Rust. There is a double free because of destructor mishandling.","status":"published","published":"2019-08-26T17:13:10Z","modified":"2024-08-05T12:19:27Z","updated_at":"2026-11-03T02:39:28.311281Z"}],"ghsa":[{"id":"GHSA-c3cw-c387-pj65","title":"Double free in crossbeam","description":"Even if an element is popped from a queue, crossbeam would run its destructor inside the epoch-based garbage collector. This is a source of double frees.\n\nThe flaw was corrected by wrapping elements inside queues in a ManuallyDrop.","status":"published","published":"2021-08-25T20:43:21Z","modified":"2023-11-10T05:01:38Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:37:18.40412Z"}],"nvd":[{"id":"CVE-2018-20996","description":"An issue was discovered in the crossbeam crate before 0.4.1 for Rust. There is a double free because of destructor mishandling.","status":"published","published":"2019-08-26T18:15:11.607Z","modified":"2026-06-17T01:53:54.34Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:04:59.278647Z"}],"osv":[{"id":"CVE-2018-20996","description":"An issue was discovered in the crossbeam crate before 0.4.1 for Rust. There is a double free because of destructor mishandling.","status":"published","published":"2019-08-26T18:15:11.607Z","modified":"2026-10-24T10:30:57.079912227Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:09.145458Z"},{"id":"GHSA-c3cw-c387-pj65","title":"Double free in crossbeam","description":"Even if an element is popped from a queue, crossbeam would run its destructor inside the epoch-based garbage collector. This is a source of double frees.\n\nThe flaw was corrected by wrapping elements inside queues in a ManuallyDrop.","status":"published","published":"2021-08-25T20:43:21Z","modified":"2023-11-08T04:00:13.679223Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T15:46:44.571161Z"},{"id":"RUSTSEC-2018-0009","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.","status":"published","published":"2018-12-09T12:00:00Z","modified":"2026-07-17T16:00:03.218984728Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:53:39.492624Z"},{"id":"UBUNTU-CVE-2018-20996","description":"An issue was discovered in the crossbeam crate before 0.4.1 for Rust. There is a double free because of destructor mishandling.","status":"published","published":"2019-08-26T18:15:00Z","modified":"2026-10-17T12:55:25.803356374Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:17.91743Z"}]}}
