CVE-2025-62231: Integer Overflow or Wraparound in X.Org Xwayland
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.
AI Analysis
Technical Summary
CVE-2025-62231 is an integer overflow vulnerability in the X.Org X server's X Keyboard (Xkb) extension, specifically in the XkbSetCompatMap() function of Xwayland. Improper bounds checking allows an unsigned short value calculation to overflow when processing specially crafted input, potentially causing memory corruption or a crash. The vulnerability is rated with a CVSS 3.1 base score of 7.3 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H), indicating it requires local access with low complexity and privileges, no user interaction, and can result in high confidentiality and availability impact. Red Hat has issued security advisories (RHSA-2025:19432 and RHSA-2025:19433) providing patches for affected Red Hat Enterprise Linux 8 and 9 versions. The advisories also address related vulnerabilities CVE-2025-62229 and CVE-2025-62230. The patches are available through official Red Hat repositories and should be applied to remediate the issue.
Potential Impact
Successful exploitation of this vulnerability can lead to memory corruption or a crash of the Xwayland server process. The CVSS vector indicates a high impact on confidentiality and availability, with partial impact on integrity. The attacker requires local access with low privileges and no user interaction is needed. There are no known exploits in the wild at the time of publication. The vulnerability affects multiple architectures supported by Red Hat Enterprise Linux 8 and 9.
Mitigation Recommendations
Red Hat has released official security updates that fix this vulnerability in xorg-x11-server-Xwayland packages for Red Hat Enterprise Linux 8 and 9. Users should apply these updates as soon as possible following Red Hat's guidance at https://access.redhat.com/articles/11258. The vendor advisory confirms the availability of patches and recommends updating affected systems. No additional mitigation steps are indicated beyond applying the official patches.
CVE-2025-62231: Integer Overflow or Wraparound in X.Org Xwayland
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-62231 is an integer overflow vulnerability in the X.Org X server's X Keyboard (Xkb) extension, specifically in the XkbSetCompatMap() function of Xwayland. Improper bounds checking allows an unsigned short value calculation to overflow when processing specially crafted input, potentially causing memory corruption or a crash. The vulnerability is rated with a CVSS 3.1 base score of 7.3 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H), indicating it requires local access with low complexity and privileges, no user interaction, and can result in high confidentiality and availability impact. Red Hat has issued security advisories (RHSA-2025:19432 and RHSA-2025:19433) providing patches for affected Red Hat Enterprise Linux 8 and 9 versions. The advisories also address related vulnerabilities CVE-2025-62229 and CVE-2025-62230. The patches are available through official Red Hat repositories and should be applied to remediate the issue.
Potential Impact
Successful exploitation of this vulnerability can lead to memory corruption or a crash of the Xwayland server process. The CVSS vector indicates a high impact on confidentiality and availability, with partial impact on integrity. The attacker requires local access with low privileges and no user interaction is needed. There are no known exploits in the wild at the time of publication. The vulnerability affects multiple architectures supported by Red Hat Enterprise Linux 8 and 9.
Mitigation Recommendations
Red Hat has released official security updates that fix this vulnerability in xorg-x11-server-Xwayland packages for Red Hat Enterprise Linux 8 and 9. Users should apply these updates as soon as possible following Red Hat's guidance at https://access.redhat.com/articles/11258. The vendor advisory confirms the availability of patches and recommends updating affected systems. No additional mitigation steps are indicated beyond applying the official patches.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2025-10-09T04:46:44.074Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/errata/RHSA-2025:19432","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:19433","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:19434","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:19435","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:19489","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:19623","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:19909","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:20958","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:20960","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:20961","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:21035","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22040","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22041","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22051","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22055","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22056","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22077","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22096","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22164","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22167","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22364","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22365","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22426","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22427","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22667","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22729","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22742","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22753","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:0031","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:0033","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:0034","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:0035","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:0036","vendor":"Red Hat"},{"url":"https://access.redhat.com/security/cve/CVE-2025-62231","vendor":"Red Hat"}]
Threat ID: 6902f42fa7d593c99349cd31
Added to database: 10/30/2025, 5:14:23 AM
Last enriched: 4/21/2026, 5:47:52 AM
Last updated: 5/10/2026, 4:26:48 PM
Views: 124
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.