CVE catalog

CVE-2021-26955

rust-xcb: CVE-2021-26955

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianrust-xcbsid1.6.0-2fixed
Debianrust-xcbforky1.6.0-2fixed
Debianrust-xcbtrixie1.4.0-2fixed
Debianrust-xcbbookworm1.2.0-1fixed
Ubunturust-xcb22.040.9.0-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrust-xcbsourcesid1.1.1-1not yet assignedNot reportedNot reported
Debianrust-xcbsourceforky1.1.1-1not yet assignedNot reportedNot reported
Debianrust-xcbsourcetrixie1.1.1-1not yet assignedNot reportedNot reported
Debianrust-xcbsourcebookworm1.1.1-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [rust-xcb]

    Details (2)
    • 1.2.0-1 · amd64 · bookworm

      Fixed · Fixed: 1.1.1-1

      dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12

    • 1.2.0-1 · arm64 · bookworm

      Fixed · Fixed: 1.1.1-1

      dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12

  • Source package: [rust-xcb]

    Details (2)
    • 1.2.0-1 · amd64 · bookworm

      Fixed · Fixed: 1.1.1-1

      dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12

    • 1.2.0-1 · arm64 · bookworm

      Fixed · Fixed: 1.1.1-1

      dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12

  • Source package: [rust-xcb]

    Details (2)
    • 1.2.0-1 · amd64 · bookworm

      Fixed · Fixed: 1.1.1-1

      dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12

    • 1.2.0-1 · arm64 · bookworm

      Fixed · Fixed: 1.1.1-1

      dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12

  • Source package: [rust-xcb]

    Details (2)
    • 1.2.0-1 · amd64 · bookworm

      Fixed · Fixed: 1.1.1-1

      dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12

    • 1.2.0-1 · arm64 · bookworm

      Fixed · Fixed: 1.1.1-1

      dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12

  • Source package: [rust-xcb]

    Details (2)
    • 1.2.0-1 · amd64 · bookworm

      Fixed · Fixed: 1.1.1-1

      dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12

    • 1.2.0-1 · arm64 · bookworm

      Fixed · Fixed: 1.1.1-1

      dsa · rust-xcb · debian · bookworm; dsa · rust-xcb · debian · 12

[Debian 13 (Trixie)]

  • Source package: [rust-xcb]

    Details (2)
    • 1.4.0-2 · amd64 · trixie

      Fixed · Fixed: 1.1.1-1

      dsa · rust-xcb · debian · 13

    • 1.4.0-2 · arm64 · trixie

      Fixed · Fixed: 1.1.1-1

      dsa · rust-xcb · debian · 13

Observed:

References