Read the docs
TI-2021-08557 Aliases CVE-2021-26958GHSA-3cj3-jrrp-9rxf

An issue was discovered in the xcb crate through 2021-02-04 for Rust.

Priority MEDIUM 41CWE-252Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

An issue was discovered in the xcb crate through 2021-02-04 for Rust. It has a soundness violation because transmutation to the wrong type can happen after xcb::base::cast_event uses std::mem::transmute to return a reference to an arbitrary type.

Why it matters now

EPSS 0.01619 76th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed xcb (crates.io): 1.0.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—xcb (crates.io)before 1.0.01.0.0Patch availableGHSA-3cj3-jrrp-9rxf
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • xcb (crates.io) Vendor— Affected before 1.0.0 Fixed in 1.0.0 Patch available GHSA-3cj3-jrrp-9rxf

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:xcb_project:xcb:*:*:*:*:*:rust:*:*up to 2021-02-04VulnerableXcb Project
  • cpe:2.3:a:xcb_project:xcb:*:*:*:*:*:rust:*:* Versions up to 2021-02-04 Vulnerable ·Xcb Project

Remediation

  • Fix · GHSA-3cj3-jrrp-9rxf xcb (crates.io) Fixed in 1.0.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-26958
  2. 2026-10-03 Alias added: GHSA-3cj3-jrrp-9rxf

References

  • TI-2021-08556 An issue was discovered in the xcb crate through 2021-02-04 for Rust. CVSS 3.1CRITICAL 9.8
  • TI-2021-08555 An issue was discovered in the xcb crate through 2021-02-04 for Rust. CVSS 3.1CRITICAL 9.8
  • TI-2021-08554 An issue was discovered in the xcb crate through 2021-02-04 for Rust. CVSS 3.1CRITICAL 9.8
  • TI-2020-18525 An issue was discovered in the xcb crate through 2020-12-10 for Rust. CVSS 3.1MEDIUM 5.5

Sources