CVE-2025-62231: Xorg: xmayland: value overflow in xkbsetcompatmap()

Published Oct 9, 2025
·
Updated

A flaw was identified in the X.Org X server’s X Keyboard (Xkb) extension where improper bounds checking in the XkbSetCompatMap() function can cause an unsigned short overflow. If an attacker sends specially crafted input data, the value calculation may overflow, leading to memory corruption or a crash.

Other sources

Integer overflow vulnerability in the XkbSetCompatMap() function of the X.Org X server and Xwayland. The XkbCompatMap structure uses unsigned short values for some fields but fails to verify that input sums do not exceed the valid range. Crafted XkbSetCompatMap requests can trigger arithmetic overflow, potentially corrupting memory and causing the X server to crash.

Red Hat

Xorg: xmayland: value overflow in xkbsetcompatmap()

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:46 AM
DescriptionSeverityAffected Software
Oct 30, 2025
CVE Published
via MITRE·05:08 AM
Data Sourced
via MITRE·05:08 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Oct 31, 2025
Data Sourced
via Microsoft·01:11 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:11 AM
DescriptionSeverity
Updated
via Microsoft·08:11 AM
SeverityAffected Software
Updated
via Microsoft·08:11 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-62231?

CVE-2025-62231 is rated as a high severity vulnerability due to the potential for exploitation via crafted input data.

2

How do I fix CVE-2025-62231?

To address CVE-2025-62231, update the X.Org X Server and Xwayland to the latest patched versions provided by your distribution.

3

Which software is affected by CVE-2025-62231?

CVE-2025-62231 affects both X.Org X Server and X.Org Xwayland implementations.

4

What can an attacker achieve with CVE-2025-62231?

An attacker exploiting CVE-2025-62231 could potentially execute arbitrary code or cause a denial of service due to the overflow condition.

5

Is there a workaround for CVE-2025-62231?

Currently, the recommended action for CVE-2025-62231 is to apply the security update since there are no effective workarounds.

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