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

- Severity: High 7.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2025-10-30T05:08:32.155Z
- Modified: 2026-11-26T22:17:53.950Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- xwayland: before 24.1.9
- xorg-x11-server-Xwayland: no versions given (not affected: from 0:24.1.5-5.el10_0 before *; from 0:24.1.5-5.el10_1 before *; from 0:21.1.3-19.el8_10 before *; from 0:21.1.3-2.el8_6.5 before *; from 0:21.1.3-12.el8_8 before *; from 0:23.2.7-5.el9_6 before *; from 0:23.2.7-5.el9_7 before *; from 0:21.1.3-4.el9_0 before *; from 0:21.1.3-9.el9_2 before *; from 0:22.1.9-7.el9_4 before *)
- tigervnc: no versions given (not affected: from 0:1.1.0-25.el6_10.15 before *; from 0:1.8.0-36.el7_9.3 before *; from 0:1.15.0-8.el8_10 before *; from 0:1.9.0-15.el8_2.15 before *; from 0:1.11.0-8.el8_4.14 before *; from 0:1.12.0-6.el8_6.15 before *; from 0:1.12.0-15.el8_8.16 before *; from 0:1.14.1-9.el9_6 before *; from 0:1.15.0-6.el9_7 before *; from 0:1.11.0-22.el9_0.16 before *; from 0:1.12.0-14.el9_2.13 before *; from 0:1.13.1-8.el9_4.8 before *)
- xorg-x11-server: no versions given (not affected: from 0:1.20.4-33.el7_9 before *; from 0:1.20.11-27.el8_10 before *; from 0:1.20.6-5.el8_2 before *; from 0:1.20.10-3.el8_4 before *; from 0:1.20.11-6.el8_6 before *; from 0:1.20.11-17.el8_8 before *; from 0:1.20.11-32.el9_6 before *; from 0:1.20.11-32.el9_7 before *; from 0:1.20.11-12.el9_0 before *; from 0:1.20.11-19.el9_2 before *; from 0:1.20.11-27.el9_4 before *)
- x.org x_server: before 21.1.19
- x.org xwayland: before 24.1.9
- ibm vios: from 4.1.0 before 4.1.1.30; 4.1.2.0
- ibm aix: from 7.2.5 before 7.2.5.12; from 7.3.2 before 7.3.3.3; 7.3.4
- debian debian_linux: 11.0
- redhat enterprise_linux: 8.0; 9.0; 10.0
- redhat enterprise_linux_aus: 8.2; 8.4; 8.6
- redhat enterprise_linux_els: 6.0; 7.0
- redhat enterprise_linux_eus: 8.4; 9.4
- redhat enterprise_linux_tus: 8.6; 8.8
- redhat enterprise_linux_update_services_for_sap_solutions: 8.6; 8.8; 9.0; 9.2

## References

- <https://access.redhat.com/errata/RHSA-2025:19432> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:19433> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:19434> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:19435> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:19489> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:19623> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:19909> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:20958> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:20960> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:20961> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21035> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22040> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22041> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22051> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22055> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22056> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22077> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22096> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22164> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22167> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22364> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22365> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22426> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22427> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22667> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22729> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22742> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22753> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:0031> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:0033> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:0034> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:0035> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:0036> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2025-62231> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2402660> (issue-tracking, third-party-advisory)
- <https://lists.x.org/archives/xorg-announce/2025-October/003635.html> (mailing-list, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00033.html> (mailing-list, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2025/10/28/7> (mailing-list, patch)

## Sources

- CVE List: [CVE-2025-62231](https://www.cve.org/CVERecord?id=CVE-2025-62231), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2025-62231](https://nvd.nist.gov/vuln/detail/CVE-2025-62231), Public domain, modified 2026-11-26

---

Page: https://cve.day/CVE-2025-62231 · Whole record: https://cve.day/CVE-2025-62231.json · Rebuilt by cve.day 2026-11-26T22:32:36.301Z
