CVE-2021-26958

HIGH

xcb crate - Memory Corruption

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 8.8
EPSS 0.0057
EPSS Percentile 68.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-252
Status published
Products (2)
crates.io/xcb 0 - 1.0.0crates.io
xcb_project/xcb < 2021-02-04
Published Feb 09, 2021
Tracked Since Feb 18, 2026