Crossbeam is a set of tools for concurrent programming. In crossbeam-channel before version 0.4.4, the…
Historical advisory recorded 24 Oct 2026 16:17:26 UTC. Read the latest advisory.
nvd · CVE-2020-15254
PublishedCrossbeam 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2020-15254
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-119 · CWE-401
Original publisher date fields
published: 2020-10-16T17:15:12.057
lastModified: 2026-06-17T02:56:22.077
1 source CPE criteria · context only
- cpe:2.3:a:crossbeam_project:crossbeam:*:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON