cve.bz

CVE-2021-26955

9.8 criticalEPSS 1.7%

Critical (9.8) in xcb project xcb. EPSS 1.7% 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 xcb::xproto::GetAtomNameReply::name() calls std::str::from_utf8_unchecked() on unvalidated bytes from an X server.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.7% chance of exploitation in the next 30 days; higher than 77% 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