CVE-2020-36205
Memory 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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
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.
- Record
CVE-2020-36205- 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 - CVSS 2.0
- 2.1 Low
AV:L/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-415, CWE-416
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2020-36205- Updated
- 2026-11-02
EUVDEUVD-2021-1676 No score
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.
- Record
EUVD-2021-1676- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-c8hq-x4mm-p6q6
5.5
Memory 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.
- Record
GHSA-c8hq-x4mm-p6q6- 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 - Weakness
- CWE-415, CWE-416
- Updated
- 2026-11-02
OSV
5.5
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.
- Record
CVE-2020-36205- 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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-36205
5.5
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.
- Record
DEBIAN-CVE-2020-36205- 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 - Updated
- 2026-11-02
OSVGHSA-c8hq-x4mm-p6q6
5.5
Memory 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.
- Record
GHSA-c8hq-x4mm-p6q6- 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 - Weakness
- CWE-415, CWE-416
- Updated
- 2026-11-02
OSVRUSTSEC-2020-0097
5.5
Soundness issue with base::Error
base::Error type contains public field named ptr.
With this definition, it is possible to create a base::Error with an invalid pointer and trigger memory safety errors
such as use-after-free or double-free with safe Rust.
The users of xcb crate are advised not to manipulate the field.
- Record
RUSTSEC-2020-0097- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-36205
5.5
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.
- Record
UBUNTU-CVE-2020-36205- 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 - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
xcbcrates.io |
before 1.0.0 | 1.0.0 |
rust-xcbDebian:12 |
before 1.1.1-1 | 1.1.1-1 |
rust-xcbDebian:13 |
before 1.1.1-1 | 1.1.1-1 |
rust-xcbDebian:14 |
before 1.1.1-1 | 1.1.1-1 |
xcbcrates.io |
0.0.0-0 up to 1.0.0 | 1.0.0 |
rust-xcbUbuntu:22.04:LTS |
All versions, plus listed versions 0.9.0-2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-36205 is a medium vulnerability (CVSS 5.5) in Xcb Project Xcb, published December 10, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.41%, the 35th percentile. Fixed in xcb 1.0.0.