All reports
High

Unchecked Return Value in xcb

Affected versions

Rust / Cargoxcb
Affected versions
< 1.0.0
Fixed version
1.0.0

Exploitation

CVE-2021-26958

Probability of exploitation in the next 30 days: 1.62%

FIRST EPSS · 2026-11-23

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.

Links