CVE-2020-35904
MEDIUM 5.5CVSS 3.1Incorrect buffer size in crossbeam-channel
An issue was discovered in the crossbeam-channel crate before 0.4.4 for Rust. It has incorrect expectations about the relationship between the memory allocation and how many iterator elements there are.
- Published
- 31 Dec 2020
- Last modified
- 8 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-119CWE-131CWE-401
- Also known as
- CVE-2020-15254GHSA-m8h8-v6jh-c762GHSA-v5m7-53cv-f3hxRUSTSEC-2020-0052
- Sources
- NVDJSONOSV GHSA-m8h8-v6jh-c762JSONOSV GHSA-v5m7-53cv-f3hxJSONOSV RUSTSEC-2020-0052JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | crossbeam-channel_project | crossbeam-channelcpe:2.3:a:crossbeam-channel_project:crossbeam-channel:*:*:*:*:*:rust:*:* |
< 0.4.4 | 0.4.4 |
| OSV | crates.io | crossbeam-channel | >= 0.4.3, < 0.4.4 | 0.4.4 |
References
- https://rustsec.org/advisories/RUSTSEC-2020-0052.html · Exploit, Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-35904 · ADVISORY
- https://github.com/crossbeam-rs/crossbeam/pull/533 · WEB
- https://github.com/crossbeam-rs/crossbeam · PACKAGE
- https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-v5m7-53cv-f3hx · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-15254 · ADVISORY
- https://github.com/crossbeam-rs/crossbeam/issues/539 · WEB
- https://github.com/RustSec/advisory-db/pull/425 · WEB
- https://crates.io/crates/crossbeam-channel · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Jun 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)