Xorg: xwayland: use-after-free in xkb client resource removal
Summary
| CVE | CVE-2025-62230 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-10-30 06:15:45 UTC |
| Updated | 2026-04-20 14:16:15 UTC |
| Description | A flaw was discovered in the X.Org X server’s X Keyboard (Xkb) extension when handling client resource cleanup. The software frees certain data structures without properly detaching related resources, leading to a use-after-free condition. This can cause memory corruption or a crash when affected clients disconnect. |
Risk And Classification
Primary CVSS: v3.1 7.3 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
EPSS: 0.000100000 probability, percentile 0.012260000 (date 2026-04-21)
Problem Types: CWE-416 | CWE-416 Use After Free
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.3 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H |
| 3.1 | CNA | CVSS | 7.3 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
LowAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/errata/RHSA-2025:22040 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:0035 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:19435 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:20960 | [email protected] | access.redhat.com | |
| www.openwall.com/lists/oss-security/2025/10/28/7 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| access.redhat.com/errata/RHSA-2025:22041 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:0036 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22056 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:20958 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22167 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:19434 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:20961 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22096 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:19489 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22164 | [email protected] | access.redhat.com | |
| lists.x.org/archives/xorg-announce/2025-October/003635.html | [email protected] | lists.x.org | |
| access.redhat.com/errata/RHSA-2025:22753 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22077 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22055 | [email protected] | access.redhat.com | |
| access.redhat.com/security/cve/CVE-2025-62230 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:21035 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:0033 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22729 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:19909 | [email protected] | access.redhat.com | |
| lists.debian.org/debian-lts-announce/2025/10/msg00033.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22742 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:0034 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:19623 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22364 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22667 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:19432 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22426 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22051 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22365 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:0031 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22427 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:19433 | [email protected] | access.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Red Hat would like to thank Jan-Niklas Sohn (Trend Micro Zero Day Initiative) for reporting this issue. (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2025-10-09T06:00:07.571Z | Reported to Red Hat. |
| CNA | 2025-10-29T00:00:00.000Z | Made public. |
Workarounds
CNA: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
There are currently no legacy QID mappings associated with this CVE.