CVE-2021-26955

Published Feb 9, 2021 CVSS 3.1 · 9.8 Critical EPSS 1.7% KEV · Not listed
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.

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-1523 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.
Github GHSA Github GHSA GHSA-3288-cwgw-ch86 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