CVE-2021-26958

Published Feb 9, 2021 CVSS 3.1 · 8.8 High EPSS 1.6% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-1543 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.
Github GHSA Github GHSA GHSA-3cj3-jrrp-9rxf Unchecked Return Value in xcb
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 8:33 PM
Reserved
Feb 9, 2021, 12:00 AM
Status
Modified
Published
Feb 9, 2021, 11:15 PM
Modified
Jun 17, 2026, 3:44 AM