Xorg: xmayland: value overflow in xkbsetcompatmap()
CVE-2025-62231Published 30 Oct 2025, 05:08 UTC
Real-world risk
3.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.3
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from redhat)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Red Hat Enterprise LinuxUbiquitous | not stated | — |
| XwaylandCommon | < 24.1.9 | 24.1.9 |
What to do
Update to a fixed version: 24.1.9.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 25), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.5 × threat 0.853.400
- Rounded to one decimal between 0.1 and 103.4
Exploitation and evidence timeline
- 30 Oct 2025 Published
- 3 Dec 2026 Risk 3.4 (cvss fallback)
Weakness
CWE-190
References
- https://access.redhat.com/errata/RHSA-2025:19432redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:19433redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:19434redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:19435redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:19489redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:19623redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:19909redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:20958redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:20960redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:20961redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:21035redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:22040redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:22041redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:22051redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:22055redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:22056redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:22077redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:22096redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:22164redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:22167redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:22364redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:22365redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:22426redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:22427redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:22667redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:22729redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:22742redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:22753redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:0031redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:0033redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:0034redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:0035redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:0036redhat, vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-62231redhat, vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2402660issue-tracking, redhat
- https://lists.x.org/archives/xorg-announce/2025-October/003635.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00033.html
- http://www.openwall.com/lists/oss-security/2025/10/28/7
- CVE-2025-62231 on CVE.org