CVE-2020-36205
MEDIUM 5.5CVSS 3.1Memory handling issues in xcb
An issue was discovered in the xcb crate through 2020-12-10 for Rust. base::Error does not have soundness. Because of the public ptr field, a use-after-free or double-free can occur.
- Published
- 26 Jan 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-415CWE-416
- Also known as
- GHSA-c8hq-x4mm-p6q6RUSTSEC-2020-0097
- Sources
- NVDJSONOSV GHSA-c8hq-x4mm-p6q6JSONOSV RUSTSEC-2020-0097JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| 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 |
| OSV | RustSec | 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 | xcb_project | xcbcpe:2.3:a:xcb_project:xcb:*:*:*:*:*:rust:*:* |
<= 2020-12-10 | |
| OSV | crates.io | xcb | < 1.0.0 | 1.0.0 |
| OSV | crates.io | xcb | >= 0.0.0-0, < 1.0.0 | 1.0.0 |
References
- https://rustsec.org/advisories/RUSTSEC-2020-0097.html · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-36205 · ADVISORY
- https://github.com/rtbo/rust-xcb/issues/93 · WEB
- https://github.com/rust-x-bindings/rust-xcb/issues/93 · WEB, REPORT
- https://github.com/rtbo/rust-xcb · PACKAGE
- https://crates.io/crates/xcb · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 26 Jan 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)