CVE-2021-26956 Memory corruption in n/a

Critical 9.8 Published Updated

A soundness violation in the Rust xcb crate allows X server bytes to be misinterpreted, potentially leading to memory corruption or code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-26956?

CVE-2021-26956 is a critical memory corruption vulnerability in n/a, published on 9 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in the xcb crate through 2021-02-04 for Rust. It has a soundness violation because bytes from an X server can be interpreted as any data type returned by xcb::xproto::GetPropertyReply::value.

Which versions are affected by CVE-2021-26956?

It affects 1 product.

Products include Xcb Project Xcb.

How do I fix CVE-2021-26956?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-26956 being exploited?

There is no known exploitation of CVE-2021-26956 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2021-26956, UBUNTU-CVE-2021-26956.

Is CVE-2021-26956 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free