CVE-2024-0409 Xorg-x11-server: selinux context corruption

High 7.8 Published Updated

A memory corruption flaw in X.Org server cursor code allows overwriting SELinux contexts, potentially enabling privilege escalation or security bypass.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-0409?

CVE-2024-0409 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 18 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A flaw was found in the X.Org server. The cursor code in both Xephyr and Xwayland uses the wrong type of private at creation. It uses the cursor bits type with the cursor as private, and when initiating the cursor, that overwrites the XSELINUX context.

Weakness: CWE-787

Which versions are affected by CVE-2024-0409?

It affects 12 products.

Products include Fedoraproject Fedora, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux for Ibm Z Systems, Redhat Enterprise Linux for Power Big Endian, Redhat Enterprise Linux for Power Little Endian and 6 more.

How do I fix CVE-2024-0409?

Apply the vendor's patch.

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

Is CVE-2024-0409 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-33351, AZL-45339, BELL-CVE-2024-0409, DEBIAN-CVE-2024-0409, GHSA-w668-xcxf-v3gg, UBUNTU-CVE-2024-0409.

Is CVE-2024-0409 in your software?

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

Check your SBOMs for free