CVE-2025-62230 Xorg: xwayland: use-after-free in xkb client resource removal
A use-after-free in X.Org X server's Xkb extension allows attackers to cause crashes or potentially execute code via client disconnection.
- 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-2025-62230?
CVE-2025-62230 is a high-severity use after free vulnerability in Debian Debian Linux, published on 30 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A flaw was discovered in the X.Org X server’s X Keyboard (Xkb) extension when handling client resource cleanup. The software frees certain data structures without properly detaching related resources, leading to a use-after-free condition. This can cause memory corruption or a crash when affected clients disconnect.
Weakness: CWE-416
Which versions are affected by CVE-2025-62230?
It affects 11 products.
Products include Debian Debian Linux, Ibm Aix, Ibm Vios, Redhat Enterprise Linux, Redhat Enterprise Linux Aus, Redhat Enterprise Linux Els and 5 more.
How do I fix CVE-2025-62230?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2025-62230 being exploited?
There is no known exploitation of CVE-2025-62230 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-69580, BELL-CVE-2025-62230, CLSA-2025-1763125295, DEBIAN-CVE-2025-62230, GHSA-892r-x96w-jh76, UBUNTU-CVE-2025-62230.