{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-26958","published":"2021-02-09T23:15:14.383000Z","last_modified":"2026-06-17T03:44:04.633000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-252"],"cpes":[{"criteria":"cpe:2.3:a:xcb_project:xcb:*:*:*:*:*:rust:*:*","part":"a","vendor":"xcb_project","product":"xcb","version_end_including":"2021-02-04"}],"cpes_truncated":false,"vendors":["xcb_project"],"products":["xcb_project/xcb"],"epss":{"score":0.01619,"percentile":0.7648,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-2xpg-3hx4-fm9r","ecosystem":"crates.io","name":"xcb","purl":"pkg:cargo/xcb","ranges":[{"introduced":"0","fixed":"1.0.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-3288-cwgw-ch86","ecosystem":"crates.io","name":"xcb","purl":"pkg:cargo/xcb","ranges":[{"introduced":"0","fixed":"1.0.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-3cj3-jrrp-9rxf","ecosystem":"crates.io","name":"xcb","purl":"pkg:cargo/xcb","ranges":[{"introduced":"0","fixed":"1.0.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-mp6r-fgw2-rxfx","ecosystem":"crates.io","name":"xcb","purl":"pkg:cargo/xcb","ranges":[{"introduced":"0","fixed":"1.0.0"}],"versions":[],"versions_truncated":false},{"advisory":"RUSTSEC-2021-0019","ecosystem":"crates.io","name":"xcb","purl":"pkg:cargo/xcb","ranges":[{"introduced":"0.0.0-0","fixed":"1.0.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2021-26958/","html_en":"/en/cve/CVE-2021-26958/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-26958","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-26958"},"untrusted":{"vendor_name":"Xcb Project","product_name":"Xcb","desc_en":"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":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0019.html","tags":["Exploit","Vendor Advisory"]}]}}