Skip to main content
EPSS 0.3%top 80%

CVE-2025-62231: Integer Overflow or Wraparound in X.Org Xwayland

0
High
VulnerabilityCVE-2025-62231cvecve-2025-62231
Published: 10/30/2025 (10/30/2025, 05:08:32 UTC)
Source: CVE Database V5
Vendor/Project: X.Org
Product: 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.

CVSS v3.1

Score 7.3high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H

Affected software

redhat/xwayland
pkg:rpm/redhat/xwayland
Affected versions
=0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/21/2026, 05:47:52 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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, 05:14:23 UTC

Last enriched: 04/21/2026, 05:47:52 UTC

Last updated: 09/10/2026, 19:36:51 UTC

Views: 193

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses