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

High 7.3 Published Updated

An attacker can cause memory corruption or a crash in the X.Org X server via crafted input triggering an integer overflow in the Xkb extension.

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-62231?

CVE-2025-62231 is a high-severity 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 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.

Weakness: CWE-190

Which versions are affected by CVE-2025-62231?

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-62231?

Apply the vendor's patch.

Is CVE-2025-62231 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-69467, BELL-CVE-2025-62231, CLSA-2025-1763138343, DEBIAN-CVE-2025-62231, GHSA-h4r4-6hvf-34r8, UBUNTU-CVE-2025-62231.

Is CVE-2025-62231 in your software?

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

Check your SBOMs for free