CVEvulnerability
CVE-2021-26958
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-02-09
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.5 MEDIUM — AV:N/AC:L/Au:S/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 transmutation to the wrong type can happen after xcb::base::cast_event uses std::mem::transmute to return a reference to an arbitrary type.
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