# CVE-2020-36205: Memory handling issues in xcb

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 36% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-12-10T12:00:00.000Z
- Modified: 2026-06-17T03:15:00.277Z
- Also known as: GHSA-c8hq-x4mm-p6q6, RUSTSEC-2020-0097
- Weaknesses: CWE-415, CWE-416
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- xcb (crates.io): before 1.0.0; from 0.0.0-0 before 1.0.0
- xcb_project xcb: up to 2020-12-10

## Every score

- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- RustSec Advisory Database: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2020-0097.html> (exploit, advisory, vendor-advisory, web)
- <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> (report, web)
- <https://github.com/rtbo/rust-xcb> (package)
- <https://crates.io/crates/xcb> (package)

## Sources

- CVE List: [CVE-2020-36205](https://www.cve.org/CVERecord?id=CVE-2020-36205), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-c8hq-x4mm-p6q6](https://github.com/advisories/GHSA-c8hq-x4mm-p6q6), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2020-0097](https://rustsec.org/advisories/RUSTSEC-2020-0097.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2020-36205](https://nvd.nist.gov/vuln/detail/CVE-2020-36205), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-36205 · Whole record: https://cve.day/CVE-2020-36205.json · Rebuilt by cve.day 2026-11-25T22:57:57.190Z
