Live threats

All CVEs / Xcb Project

CVE-2021-26956Xcb Project Xcb

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.7%
probability of exploitation in 30 days · percentile 78
Auth required
No
Published
Feb 9, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

An issue was discovered in the xcb crate through 2021-02-04 for Rust. It has a soundness violation because bytes from an X server can be interpreted as any data type returned by xcb::xproto::GetPropertyReply::value.

Original NVD text.

What to do

  1. Apply the vendor's security update for Xcb.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io xcb < 1.0.0 1.0.0 cargo update -p xcb --precise 1.0.0
crates.io xcb < 1.0.0 1.0.0 cargo update -p xcb --precise 1.0.0
crates.io xcb < 1.0.0 1.0.0 cargo update -p xcb --precise 1.0.0
crates.io xcb < 1.0.0 1.0.0 cargo update -p xcb --precise 1.0.0
crates.io xcb ≥ 0.0.0-0 < 1.0.0 1.0.0 cargo update -p xcb --precise 1.0.0

Per OSV / GitHub Advisories (GHSA-2xpg-3hx4-fm9r, GHSA-3288-cwgw-ch86, GHSA-3cj3-jrrp-9rxf, GHSA-mp6r-fgw2-rxfx, RUSTSEC-2021-0019). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
xcb_projectxcb≤ 2021-02-04

Official sources

References

Links published by the sources. Open them with care.