Skip to content
OpenAdvisories
Unscored CVE-2021-26958 EUVD-2021-1543

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 …

Published Feb 9, 2021 · Updated Aug 3, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-xcb 1.1.1-1 —
Debian 13 rust-xcb 1.1.1-1 —
Debian 12 rust-xcb 1.1.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS rust-xcb No fix yet —

References