{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2020-15254","published":"2020-10-16T17:15:12.057000Z","last_modified":"2026-06-17T02:56:22.077000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-119","CWE-401"],"cpes":[{"criteria":"cpe:2.3:a:crossbeam_project:crossbeam:*:*:*:*:*:*:*:*","part":"a","vendor":"crossbeam_project","product":"crossbeam","version_end_excluding":"0.4.4"}],"cpes_truncated":false,"vendors":["crossbeam_project"],"products":["crossbeam_project/crossbeam"],"epss":{"score":0.02701,"percentile":0.86692,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-m8h8-v6jh-c762","ecosystem":"crates.io","name":"crossbeam-channel","purl":"pkg:cargo/crossbeam-channel","ranges":[{"introduced":"0.4.3","fixed":"0.4.4"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-v5m7-53cv-f3hx","ecosystem":"crates.io","name":"crossbeam-channel","purl":"pkg:cargo/crossbeam-channel","ranges":[{"introduced":"0.4.3","fixed":"0.4.4"}],"versions":["0.4.3"],"versions_truncated":false},{"advisory":"RUSTSEC-2020-0052","ecosystem":"crates.io","name":"crossbeam-channel","purl":"pkg:cargo/crossbeam-channel","ranges":[{"introduced":"0.4.3","fixed":"0.4.4"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2020-15254/","html_en":"/en/cve/CVE-2020-15254/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-15254","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-15254"},"untrusted":{"vendor_name":"Crossbeam Project","product_name":"Crossbeam","desc_en":"Crossbeam is a set of tools for concurrent programming. In crossbeam-channel before version 0.4.4, 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. This has been fixed in crossbeam-channel 0.4.4.","affected":[{"untrusted_vendor":"crossbeam-rs","untrusted_product":"crossbeam","versions":[]}],"references":[{"url":"https://github.com/RustSec/advisory-db/pull/425","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/crossbeam-rs/crossbeam/issues/539","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/crossbeam-rs/crossbeam/pull/533","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-v5m7-53cv-f3hx","tags":["Third Party Advisory"]}]}}