CVE-2021-26955

CRITICAL

xcb crate - Info Disclosure

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 9.8
EPSS 0.0050
EPSS Percentile 66.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-252
Status published
Products (2)
crates.io/xcb 0 - 1.0.0crates.io
xcb_project/xcb < 2021-02-04
Published Feb 09, 2021
Tracked Since Feb 18, 2026