
CVE catalog
CVE-2021-26955
rust-xcb: CVE-2021-26955
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.73% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rust-xcb | sid | 1.6.0-2 | fixed |
| Debian | rust-xcb | forky | 1.6.0-2 | fixed |
| Debian | rust-xcb | trixie | 1.4.0-2 | fixed |
| Debian | rust-xcb | bookworm | 1.2.0-1 | fixed |
| Ubuntu | rust-xcb | 22.04 | 0.9.0-2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-xcb | source | sid | 1.1.1-1 | not yet assigned | Not reported | Not reported |
| Debian | rust-xcb | source | forky | 1.1.1-1 | not yet assigned | Not reported | Not reported |
| Debian | rust-xcb | source | trixie | 1.1.1-1 | not yet assigned | Not reported | Not reported |
| Debian | rust-xcb | source | bookworm | 1.1.1-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [librust-xcb-dev]Fixed
Source package: [rust-xcb]
Details (2)
1.2.0-1· amd64 · bookwormFixed · Fixed:
1.1.1-1dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12
1.2.0-1· arm64 · bookwormFixed · Fixed:
1.1.1-1dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12
- [librust-xcb+present-dev]Fixed
Source package: [rust-xcb]
Details (2)
1.2.0-1· amd64 · bookwormFixed · Fixed:
1.1.1-1dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12
1.2.0-1· arm64 · bookwormFixed · Fixed:
1.1.1-1dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12
- [librust-xcb+x11-dev]Fixed
Source package: [rust-xcb]
Details (2)
1.2.0-1· amd64 · bookwormFixed · Fixed:
1.1.1-1dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12
1.2.0-1· arm64 · bookwormFixed · Fixed:
1.1.1-1dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12
- [librust-xcb+xfixes-dev]Fixed
Source package: [rust-xcb]
Details (2)
1.2.0-1· amd64 · bookwormFixed · Fixed:
1.1.1-1dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12
1.2.0-1· arm64 · bookwormFixed · Fixed:
1.1.1-1dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12
- [librust-xcb+xlib-xcb-dev]Fixed
Source package: [rust-xcb]
Details (2)
1.2.0-1· amd64 · bookwormFixed · Fixed:
1.1.1-1dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12
1.2.0-1· arm64 · bookwormFixed · Fixed:
1.1.1-1dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12
[Debian 13 (Trixie)]
- [librust-xcb-dev]Fixed
Source package: [rust-xcb]
Details (2)
1.4.0-2· amd64 · trixieFixed · Fixed:
1.1.1-1dsa · rust-xcb · debian · 13
1.4.0-2· arm64 · trixieFixed · Fixed:
1.1.1-1dsa · rust-xcb · debian · 13
Observed: