CVE-2025-62230: Xorg: xwayland: use-after-free in xkb client resource removal

Published Oct 9, 2025
·
Updated

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.

Other sources

Use-after-free vulnerability in the Xkb client resource removal logic of the X.Org X server and Xwayland. When removing a client’s Xkb resources, the XkbInterest data is freed prematurely while the associated resource reference remains active. When the client terminates, the cleanup routine attempts to delete already freed memory, causing a use-after-free that may lead to crashes or memory corruption.

Red Hat

Xorg: xwayland: use-after-free in xkb client resource removal

Microsoft

Affected Software

28 affected componentsFixes available
X.Org X Server
X.Org Xwayland
Microsoft azl3 xorg-x11-server-Xwayland 24.1.6-2
Microsoft azl3 wayland 1.22.0-1
X.Org X Server<21.1.19
X.Org Xwayland<24.1.9
IBM VIOS>=4.1.0<4.1.1.30
IBM VIOS=4.1.2.0
IBM AIX>=7.2.5<7.2.5.12
IBM AIX>=7.3.2<7.3.3.3
IBM AIX=7.3.4
Debian Debian Linux=11.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux=10.0
redhat Enterprise Linux Aus=8.2
redhat Enterprise Linux Aus=8.4
redhat Enterprise Linux Aus=8.6
redhat Enterprise Linux Els=6.0
redhat Enterprise Linux Els=7.0
redhat Enterprise Linux Eus=8.4
redhat Enterprise Linux Eus=9.4
redhat Enterprise Linux Tus=8.6
redhat Enterprise Linux Tus=8.8
redhat Enterprise Linux Update Services For Sap Solutions=8.6
redhat Enterprise Linux Update Services For Sap Solutions=8.8
redhat Enterprise Linux Update Services For Sap Solutions=9.0
redhat Enterprise Linux Update Services For Sap Solutions=9.2

Event History

Oct 9, 2025
Data Sourced
via Red Hat·06:14 AM
DescriptionSeverityAffected Software
Oct 30, 2025
CVE Published
via MITRE·05:19 AM
Data Sourced
via MITRE·05:19 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 2, 2025
Data Sourced
via Microsoft·01:02 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:02 AM
DescriptionSeverity
Updated
via Microsoft·09:02 AM
Affected Software
Updated
via Microsoft·09:02 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-62230?

CVE-2025-62230 has been assigned a high severity due to its potential to cause memory corruption or crashes.

2

How do I fix CVE-2025-62230?

To fix CVE-2025-62230, update your X.Org X server or Xwayland to the latest version that addresses this vulnerability.

3

What products are affected by CVE-2025-62230?

CVE-2025-62230 affects the X.Org X server and Xwayland.

4

What type of vulnerability is CVE-2025-62230?

CVE-2025-62230 is classified as a use-after-free vulnerability affecting the Xkb extension.

5

What could happen if I don't address CVE-2025-62230?

Failing to address CVE-2025-62230 may lead to memory corruption, application crashes, and potential exploitation by attackers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203