{"id":"RUSTSEC-2020-0052","revision":"e2f7d6b342a849d8ba93378d82dfcd65","records":[{"revision":"e2f7d6b342a849d8ba93378d82dfcd65","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2020-0052","aliases":["CVE-2020-15254","CVE-2020-35904","GHSA-m8h8-v6jh-c762","GHSA-v5m7-53cv-f3hx"],"title":"Undefined Behavior in bounded channel","description":"The affected version of this crate's the `bounded` channel incorrectly assumes that `Vec::from_iter` has allocated capacity that same as the number of iterator elements. `Vec::from_iter` does not actually guarantee that and may allocate extra memory. The destructor of the `bounded` channel reconstructs `Vec` from the raw pointer based on the incorrect assumes described above. This is unsound and causing deallocation with the incorrect capacity when `Vec::from_iter` has allocated different sizes with the number of iterator elements.","state":0,"publishedAt":"2020-06-26T12:00:00+00:00","modifiedAt":"2023-11-08T04:02:35.713139+00:00","affected":[{"ecosystem":"crates.io","name":"crossbeam-channel","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.4.3"},{"kind":"fixed","version":"0.4.4"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/crossbeam-channel","https://rustsec.org/advisories/RUSTSEC-2020-0052.html","https://github.com/crossbeam-rs/crossbeam/pull/533"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2020-0052","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2020-0052","identifiers":["RUSTSEC-2020-0052","CVE-2020-15254","CVE-2020-35904","GHSA-m8h8-v6jh-c762","GHSA-v5m7-53cv-f3hx"]},"retained":false,"historicalAffected":[]}],"coverage":[]}