{"id":"CVE-2021-26958","details":"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.","aliases":["CVE-2021-26955","CVE-2021-26956","CVE-2021-26957","GHSA-2xpg-3hx4-fm9r","GHSA-3288-cwgw-ch86","GHSA-3cj3-jrrp-9rxf","GHSA-mp6r-fgw2-rxfx","RUSTSEC-2021-0019"],"modified":"2026-03-13T01:55:13.036004Z","published":"2021-02-09T23:15:14.383Z","references":[{"type":"EVIDENCE","url":"https://rustsec.org/advisories/RUSTSEC-2021-0019.html"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"2021-02-04"}]},{"events":[{"introduced":"0"},{"last_affected":"2021-02-04"}]}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-26958.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}