CVE-2021-26957 Memory corruption in n/a

Critical 9.8 Published Updated

An out-of-bounds read in the Rust xcb crate allows attackers to read memory or cause crashes when interacting with an X server.

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-26957?

CVE-2021-26957 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 there is an out-of-bounds read in xcb::xproto::change_property(), as demonstrated by a format=32 T=u8 situation where out-of-bounds bytes are sent to an X server.

Weakness: CWE-125

Which versions are affected by CVE-2021-26957?

It affects 1 product.

Products include Xcb Project Xcb.

How do I fix CVE-2021-26957?

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-26957 being exploited?

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

Sources

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

Is CVE-2021-26957 in your software?

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

Check your SBOMs for free