{"id":"CVE-2020-35876","aliases":["EUVD-2021-1647","GHSA-8rc5-mr4f-m243","RUSTSEC-2020-0021"],"status":"published","title":"Use after free in rio","description":"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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.0156,"percentile":0.75443,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-416","CWE-772"],"published":"2020-05-11T12:00:00Z","modified":"2026-06-17T03:14:30Z","affected":[{"source":"ghsa","ecosystem":"crates.io","package":"rio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.9.4"}]}]},{"source":"osv","ecosystem":"crates.io","package":"rio","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.9.4"}]}]},{"source":"osv","ecosystem":"crates.io","package":"rio","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}]}],"products":[{"vendor":"rio_project","product":"rio"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0021.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35876","tags":["advisory"]},{"url":"https://github.com/spacejam/rio/issues/11","tags":["web","report"]},{"url":"https://github.com/spacejam/rio/pull/31","tags":["web"]},{"url":"https://github.com/advisories/GHSA-8rc5-mr4f-m243"},{"url":"https://github.com/spacejam/rio","tags":["package"]},{"url":"https://crates.io/crates/rio","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-35876","description":"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.","status":"published","published":"2020-12-31T08:27:20Z","modified":"2024-08-04T17:16:13.166Z","updated_at":"2026-11-02T14:35:57.975444Z"}],"euvd":[{"id":"EUVD-2021-1647","description":"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.","status":"published","published":"2020-12-31T08:27:20Z","modified":"2024-08-04T17:16:13Z","updated_at":"2026-11-03T03:07:04.595509Z"}],"ghsa":[{"id":"GHSA-8rc5-mr4f-m243","title":"Use after free in rio","description":"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.","status":"published","published":"2021-08-25T20:46:57Z","modified":"2023-01-09T05:04:48Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-416","CWE-772"],"updated_at":"2026-11-02T14:36:10.502376Z"}],"nvd":[{"id":"CVE-2020-35876","description":"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.","status":"published","published":"2020-12-31T10:15:15.863Z","modified":"2026-06-17T03:14:30.93Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-416","CWE-772"],"updated_at":"2026-11-02T14:06:28.340168Z"}],"osv":[{"id":"GHSA-8rc5-mr4f-m243","title":"Use after free in rio","description":"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.","status":"published","published":"2021-08-25T20:46:57Z","modified":"2023-11-08T04:03:37.009424Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-416","CWE-772"],"updated_at":"2026-11-02T15:46:42.78452Z"},{"id":"RUSTSEC-2020-0021","title":"rio allows a use-after-free buffer access when a future is leaked","description":"When a `rio::Completion` is leaked, its drop code will not run. The drop code\nis responsible for waiting until the kernel completes the I/O operation into, or\nout of, the buffer borrowed by `rio::Completion`. Leaking the struct will allow\none to access and/or drop the buffer, which can lead to a use-after-free,\ndata races or leaking secrets.\n\nUpstream is not interested in fixing the issue.","status":"published","published":"2020-05-11T12:00:00Z","modified":"2023-11-08T04:03:37.009424Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
