ADVISORIES

Vulnerability

CVE-2021-26958

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.

7 advisories report this vulnerability, across 3 ecosystems.

High severity All crates.io 5Debian 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2021-26958

    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…

    CVE-2021-26958 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-26958

    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…

    CVE-2021-26958 Ubuntu Updated 8 September 2025

References