Xorg-x11-server: heap buffer overflow in devicefocusevent and procxiquerypointer
Summary
| CVE | CVE-2023-6816 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-01-18 05:15:08 UTC |
| Updated | 2026-11-04 21:17:28 UTC |
| Description | A flaw was found in X.Org server. Both DeviceFocusEvent and the XIQueryPointer reply contain a bit for each logical button currently down. Buttons can be arbitrarily mapped to any value up to 255, but the X.Org Server was only allocating space for the device's particular number of buttons, leading to a heap overflow if a bigger value was used. |
Risk And Classification
Primary CVSS: v3.1 9.8 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.021060000 probability, percentile 0.818070000 (date 2026-11-04)
Problem Types: CWE-787 | CWE-787 Out-of-bounds Write
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | [email protected] | Secondary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Debian | Debian Linux | 10.0 | All | All | All |
| Operating System | Fedoraproject | Fedora | 39 | All | All | All |
| Operating System | Redhat | Enterprise Linux Desktop | 7.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server | 7.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Workstation | 7.0 | All | All | All |
| Application | X.org | Xwayland | All | All | All | All |
| Application | X.org | X Server | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION | unaffected 0:1.1.0-25.el6_10.13 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | unaffected 0:1.20.4-27.el7_9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | unaffected 0:1.8.0-31.el7_9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:1.13.1-2.el8_9.7 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:1.20.11-22.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:21.1.3-15.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | unaffected 0:1.9.0-15.el8_2.9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.2 Telecommunications Update Service | unaffected 0:1.9.0-15.el8_2.9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.2 Update Services For SAP Solutions | unaffected 0:1.9.0-15.el8_2.9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | unaffected 0:1.11.0-8.el8_4.8 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.4 Telecommunications Update Service | unaffected 0:1.11.0-8.el8_4.8 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.4 Update Services For SAP Solutions | unaffected 0:1.11.0-8.el8_4.8 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | unaffected 0:1.12.0-6.el8_6.9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | unaffected 0:1.12.0-15.el8_8.7 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:1.13.1-3.el9_3.6 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:1.20.11-24.el9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:22.1.9-5.el9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | unaffected 0:1.11.0-22.el9_0.8 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | unaffected 0:1.12.0-14.el9_2.5 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| X.Org X Server, XWayland: Multiple Vulnerabilities (GLSA 202401-30) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | |
| [SECURITY] [DLA 3721-1] xorg-server security update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:2995 | [email protected] | access.redhat.com | |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| lists.fedoraproject.org/archives/list/[email protected]/messag... | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:2169 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| [SECURITY] Fedora 39 Update: xorg-x11-server-Xwayland-23.2.4-1.fc39 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| access.redhat.com/errata/RHSA-2025:12751 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:2996 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| oss-security - Fwd: X.Org Security Advisory: Issues in X.Org X server prior to 21.1.11 and Xwayland prior to 23.2.4 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| cve-details | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2024:2170 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| [SECURITY] Fedora 39 Update: tigervnc-1.13.1-11.fc39 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| security.netapp.com/advisory/ntap-20240307-0006 | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | |
| 2257691 – (CVE-2023-6816) CVE-2023-6816 xorg-x11-server: Heap buffer overflow in DeviceFocusEvent and ProcXIQueryPointer | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Issue Tracking |
| 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 | 2024-01-10T00:00:00.000Z | Reported to Red Hat. |
| CNA | 2024-01-16T00: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.
Legacy QID Mappings
- 161304 Oracle Enterprise Linux Security Update for xorg-x11-server (ELSA-2024-0320)
- 161327 Oracle Enterprise Linux Security Update for tigervnc (ELSA-2024-0557)
- 161328 Oracle Enterprise Linux Security Update for tigervnc (ELSA-2024-0607)
- 161332 Oracle Enterprise Linux Security Update for tigervnc (ELSA-2024-0629)
- 200051 Ubuntu Security Notification for X.Org X Server Vulnerabilities (USN-6587-1)
- 200058 Ubuntu Security Notification for X.Org X Server Vulnerabilities (USN-6587-2)
- 200193 Ubuntu Security Notification for X.Org X Server Vulnerabilities (USN-6587-5)
- 242726 Red Hat Update for xorg-x11-server (RHSA-2024:0320)
- 242772 Red Hat Update for tigervnc (RHSA-2024:0558)
- 242774 Red Hat Update for tigervnc (RHSA-2024:0597)
- 242782 Red Hat Update for tigervnc (RHSA-2024:0607)
- 242793 Red Hat Update for tigervnc (RHSA-2024:0617)
- 242794 Red Hat Update for tigervnc (RHSA-2024:0614)
- 242808 Red Hat Update for tigervnc (RHSA-2024:0621)
- 242812 Red Hat Update for tigervnc (RHSA-2024:0626)
- 242825 Red Hat Update for tigervnc (RHSA-2024:0629)
- 242833 Red Hat Update for tigervnc (RHSA-2024:0557)
- 257302 CentOS Security Update for xorg-x11-server (CESA-2024:0320)
- 257305 CentOS Security Update for tigervnc (CESA-2024:0629)
- 284893 Fedora Security Update for xorg (FEDORA-2024-05db4bcbec)
- 285034 Fedora Security Update for tigervnc (FEDORA-2024-5762d637dd)
- 285036 Fedora Security Update for xorg (FEDORA-2024-da3d410b53)
- 357225 Amazon Linux Security Advisory for xorg-x11-server : ALAS2-2024-2455
- 357249 Amazon Linux Security Advisory for xorg-x11-server : ALAS2023-2024-522
- 510677 Alpine Linux Security Update for xorg-server
- 510678 Alpine Linux Security Update for xwayland
- 6000440 Debian Security Update for xorg-server (DSA 5603-1)
- 6000449 Debian Security Update for xorg-server (DLA 3721-1)
- 673399 EulerOS Security Update for xorg-x11-server (EulerOS-SA-2024-1352)
- 673626 EulerOS Security Update for xorg-x11-server (EulerOS-SA-2024-1232)
- 673929 EulerOS Security Update for xorg-x11-server (EulerOS-SA-2024-1254)
- 673935 EulerOS Security Update for xorg-x11-server (EulerOS-SA-2024-1330)
- 674121 EulerOS Security Update for xorg-x11-server (EulerOS-SA-2024-1522)
- 674159 EulerOS Security Update for xorg-x11-server (EulerOS-SA-2024-1501)
- 691397 Free Berkeley Software Distribution (FreeBSD) Security Update for xorg server (7467c611-b490-11ee-b903-001fc69cd6dc)
- 710847 Gentoo Linux X.Org X Server, XWayland Multiple Vulnerabilities (GLSA 202401-30)
- 755633 SUSE Enterprise Linux Security Update for xwayland (SUSE-SU-2024:0165-1)
- 908035 Common Base Linux Mariner (CBL-Mariner) Security Update for xorg-x11-server (33353)
- 941559 AlmaLinux Security Update for tigervnc (ALSA-2024:0607)
- 941561 AlmaLinux Security Update for tigervnc (ALSA-2024:0557)
- 961113 Rocky Linux Security Update for tigervnc (RLSA-2024:0607)