All reports
Critical

Unchecked Return Value in xcb

Affected versions

Rust / Cargoxcb
Affected versions
< 1.0.0
Fixed version
1.0.0

Exploitation

CVE-2021-26955

Probability of exploitation in the next 30 days: 1.75%

FIRST EPSS · 2026-11-20

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.

Links

Credits

  • amousset