Incorrect buffer size in crossbeam-channel
Published Dec 31, 2020 · Updated Oct 23, 2026 · Also known as CVE-2020-15254, GHSA-m8h8-v6jh-c762, RUSTSEC-2020-0052
Original summary
Normalized public record · Updated Oct 23, 2026
Incorrect buffer size in crossbeam-channel
Publisher and source text is retained separately from QFinch interpretation.
QFinch assessment
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.
Evidence: public source recordsAffected products
| Affected package, product or range | Fix status |
|---|---|
| Consult the referenced vendor advisory for affected versions. | Consult source advisory |
Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.
Remediation
Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.
- Confirm the affected product and reachable code path exist in your environment.
- Apply the vendor-supported patch or mitigation from the primary advisory.
- Rescan the exact deployed revision and retain verification evidence.
Evidence coverage
- SSVC priority
- LOW
- Confidence
- Not available
- Aliases
- CVE-2020-15254, GHSA-m8h8-v6jh-c762, RUSTSEC-2020-0052, GHSA-v5m7-53cv-f3hx
Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.
Sources and record history
Record history
Published Dec 31, 2020 · Last refreshed Oct 23, 2026