CVE-2020-35876
CRITICAL 9.8CVSS 3.1Use after free in rio
An issue was discovered in the rio crate through 2020-05-11 for Rust. A struct can be leaked, allowing attackers to obtain sensitive information, cause a use-after-free, or cause a data race.
- Published
- 31 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-416CWE-772
- Also known as
- GHSA-8rc5-mr4f-m243RUSTSEC-2020-0021
- Sources
- NVDJSONOSV GHSA-8rc5-mr4f-m243JSONOSV RUSTSEC-2020-0021JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | RustSec | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rio_project | riocpe:2.3:a:rio_project:rio:*:*:*:*:*:rust:*:* |
<= 0.9.3 | |
| OSV | crates.io | rio | <= 0.9.4 | |
| OSV | crates.io | rio | >= 0.0.0-0 |
References
- https://rustsec.org/advisories/RUSTSEC-2020-0021.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-35876 · ADVISORY
- https://github.com/spacejam/rio/issues/11 · WEB, REPORT
- https://github.com/spacejam/rio/pull/31 · WEB
- https://github.com/spacejam/rio · PACKAGE
- https://crates.io/crates/rio · 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 11 May 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)