CVE-2024-21886 Xorg-x11-server: heap buffer overflow in disabledevice
Heap buffer overflow in X.Org server allows remote code execution or crash in SSH X11 forwarding environments.
- 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-21886?
CVE-2024-21886 is a high-severity memory corruption vulnerability in Red Hat Enterprise Linux 6, published on 28 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A heap buffer overflow flaw was found in the DisableDevice function in the X.Org server. This issue may lead to an application crash or, in some circumstances, remote code execution in SSH X11 forwarding environments.
Weakness: CWE-122
Which versions are affected by CVE-2024-21886?
How do I fix CVE-2024-21886?
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-21886 being exploited?
There is no known exploitation of CVE-2024-21886 in the wild and no public exploit code.
Sources
Also known as AZL-35404, AZL-44568, BELL-CVE-2024-21886, DEBIAN-CVE-2024-21886, GHSA-vx3h-cj8w-2h2c, UBUNTU-CVE-2024-21886.