ADVISORIES

Vulnerability

CVE-2021-26955

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.

7 advisories report this vulnerability, across 3 ecosystems.

Critical severity All crates.io 5Debian 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2021-26955

    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…

    CVE-2021-26955 Debian Updated 23 October 2026
  • GHSA-2xpg-3hx4-fm9r

    Out of bounds read in xcb

    Critical CVE-2021-26955CVE-2021-26956CVE-2021-26957CVE-2021-26958 crates.io Updated 15 March 2024
  • GHSA-3288-cwgw-ch86

    Unchecked Return Value in xcb

    Critical CVE-2021-26955CVE-2021-26956CVE-2021-26957CVE-2021-26958 crates.io Updated 15 March 2024
  • GHSA-3cj3-jrrp-9rxf

    Unchecked Return Value in xcb

    High CVE-2021-26955CVE-2021-26956CVE-2021-26957CVE-2021-26958 crates.io Updated 15 March 2024
  • GHSA-mp6r-fgw2-rxfx

    Arbitrary return types in xcb

    Critical CVE-2021-26955CVE-2021-26956CVE-2021-26957CVE-2021-26958 crates.io Updated 15 March 2024
  • RUSTSEC-2021-0019

    Multiple soundness issues

    CVE-2021-26955CVE-2021-26956CVE-2021-26957CVE-2021-26958 crates.io Updated 15 March 2024
  • UBUNTU-CVE-2021-26955

    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…

    CVE-2021-26955 Ubuntu Updated 8 September 2025

References