{"id":"CVE-2021-26955","published":"2021-02-09T22:07:26Z","modified":"2024-08-03T20:33:41Z","title":"An issue was discovered in the xcb crate through 2021-02-04 for Rust","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01749,"percentile":0.78405,"provenance":"source"},"cwes":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0019.html","tags":["x_refsource_MISC"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":15.68}]},"affected":[{"ecosystem":"crates.io","package":"xcb","vulnerableRanges":["<1.0.0",">=0.0.0-0, <1.0.0"],"patched":["1.0.0"],"from":["GHSA-3288-cwgw-ch86","RUSTSEC-2021-0019"],"provenance":"source"}],"summary":{"text":"The xcb crate for Rust contains a soundness flaw in xcb::xproto::GetAtomNameReply::name(), which calls std::str::from_utf8_unchecked() on bytes received from an X server without validating them first.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:45Z"},"euvd":{"id":"EUVD-2021-1523","exploited":false,"provenance":"source"}}