CVEvulnerability
CVE-2021-26955
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2021-02-09
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-252
Description
An issue was discovered in the xcb crate through 2021-02-04 for Rust. It has a soundness violation because xcb::xproto::GetAtomNameReply::name() calls std::str::from_utf8_unchecked() on unvalidated bytes from an X server.
Affected configurations
• xcb project xcb (<= 2021-02-04)
Related
Weakness · CWE (1)
- CWE-252 Unchecked Return Value weakness
References
- https://rustsec.org/advisories/RUSTSEC-2021-0019.html Exploit, Vendor Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0019.html Exploit, Vendor Advisory