cve.bz

CVE-2021-26958

8.8 highEPSS 1.6%

High (8.8) in xcb project xcb. EPSS 1.6% chance of exploitation in the next 30 days. Fixed in xcb 1.0.0.

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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.6% chance of exploitation in the next 30 days; higher than 75% of CVEs (scores of 2026-10-31)
CWE
CWE-252
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2xpg-3hx4-fm9rcrates.ioxcb<1.0.01.0.0
GHSA-3288-cwgw-ch86crates.ioxcb<1.0.01.0.0
GHSA-3cj3-jrrp-9rxfcrates.ioxcb<1.0.01.0.0
GHSA-mp6r-fgw2-rxfxcrates.ioxcb<1.0.01.0.0
RUSTSEC-2021-0019crates.ioxcb>=0.0.0-0 <1.0.01.0.0

References

Check your stackJSON