CVE-2021-26956: Rust xcb - Undefined Behavior
- Cve: CVE-2021-26956
- Name: Rust xcb - Undefined Behavior
- Description: An issue was discovered in the xcb crate through 2021-02-04 for Rust. It has a soundness violation because bytes from an X server can be interpreted as any data type returned by xcb::xproto::GetPropertyReply::value.
- Impact: Potential for undefined behavior or crashes due to incorrect data interpretation, leading to denial of service or arbitrary code execution.
- Remediation: Update to the latest version of the xcb crate where the issue is fixed.
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01749
- Epss percentile: 0.78312
- Assignee: [email protected]
- Published at: 2021-02-09T23:15:13Z
- Age in days: 2114
- Modified at: 2026-06-17T03:44:04Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 3
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-26956
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://rustsec.org/advisories/RUSTSEC-2021-0019.html | nvd | 2021-02-09 |
References
| Url | Source | Tags |
|---|---|---|
| https://rustsec.org/advisories/RUSTSEC-2021-0019.html | nvd | Exploit, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| xcb_project:xcb | <= 2021-02-04 | no | nvd | /v1/products/xcb_project/xcb |
Projects
Same in every row:
- Indexed: yes
| Repository | Link kinds | Url |
|---|---|---|
| rustsec/advisory-db | issues | /v1/repositories/rustsec/advisory-db |
| rtbo/rust-xcb | package | /v1/repositories/rtbo/rust-xcb |
| rust-x-bindings/rust-xcb | issues | /v1/repositories/rust-x-bindings/rust-xcb |
Index
- Repositories: 5
- Repositories high signal: 4
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-02-09
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts