Heap-based buffer overflow in X.org Server and Xwayland - CVE-2023-6816
Published: January 16, 2024 / Updated: February 12, 2024
Vulnerability identifier: #VU85447
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-6816
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a boundary error within the DeviceFocusEvent and ProcXIQueryPointer functions. A local user can trigger a heap-based buffer overflow and execute arbitrary code on the target system.
Affected software
X.org Server
Oracle SD-WAN Edge
Xwayland
Gentoo Linux
Amazon Linux AMI
Debian Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Workstation Extension 15
SUSE Linux Enterprise Software Development Kit 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
Anolis OS
CentOS
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
SUSE Enterprise Storage
OpenBSD
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Ubuntu
Slackware Linux
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Desktop 15 SP4 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
Basesystem Module
Development Tools Module
openSUSE Leap
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
xserver-xorg-core (Ubuntu package)
xwayland (Ubuntu package)
tigervnc (Red Hat package)
tigervnc-icons
tigervnc-license
tigervnc-server-applet
tigervnc-server-module
tigervnc-server-minimal
tigervnc-server
tigervnc
tigervnc-selinux
xorg-x11-server
xorg-x11-server-sdk
xorg-x11-server-debuginfo
xorg-x11-server-debugsource
xorg-x11-server-extra-debuginfo
xorg-x11-server-extra
xorg-x11-server-wayland
xorg-x11-server-wayland-debuginfo
xorg-x11-server-source
xorg-x11-server-Xnest
xorg-x11-server-Xorg
xorg-x11-server-Xvfb
xorg-x11-server-Xdmx
xorg-x11-server-Xephyr
xorg-x11-server-Xwayland
xorg-x11-server-common
xorg-x11-server-devel
xorg-x11-server (Red Hat package)
xorg-x11-server-help
xorg-server (Debian package)
xorg-server-xvfb
xorg-server-xnest
xorg-server-xephyr
xorg-server
xorg-x11-server-Xwayland (Red Hat package)
xorg-server-xwayland
xwayland-debugsource
xwayland-devel
xwayland-debuginfo
xwayland
xorg-x11-server-Xvfb-debuginfo
x11-base/xorg-server
xorg-x11-server-Xwayland-debuginfo
xorg-x11-server-Xwayland-debugsource
xorg-x11-server-Xwayland-devel
x11-base/xwayland
Oracle SD-WAN Edge
Xwayland
Gentoo Linux
Amazon Linux AMI
Debian Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Workstation Extension 15
SUSE Linux Enterprise Software Development Kit 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
Anolis OS
CentOS
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
SUSE Enterprise Storage
OpenBSD
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Ubuntu
Slackware Linux
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Desktop 15 SP4 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
Basesystem Module
Development Tools Module
openSUSE Leap
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
xserver-xorg-core (Ubuntu package)
xwayland (Ubuntu package)
tigervnc (Red Hat package)
tigervnc-icons
tigervnc-license
tigervnc-server-applet
tigervnc-server-module
tigervnc-server-minimal
tigervnc-server
tigervnc
tigervnc-selinux
xorg-x11-server
xorg-x11-server-sdk
xorg-x11-server-debuginfo
xorg-x11-server-debugsource
xorg-x11-server-extra-debuginfo
xorg-x11-server-extra
xorg-x11-server-wayland
xorg-x11-server-wayland-debuginfo
xorg-x11-server-source
xorg-x11-server-Xnest
xorg-x11-server-Xorg
xorg-x11-server-Xvfb
xorg-x11-server-Xdmx
xorg-x11-server-Xephyr
xorg-x11-server-Xwayland
xorg-x11-server-common
xorg-x11-server-devel
xorg-x11-server (Red Hat package)
xorg-x11-server-help
xorg-server (Debian package)
xorg-server-xvfb
xorg-server-xnest
xorg-server-xephyr
xorg-server
xorg-x11-server-Xwayland (Red Hat package)
xorg-server-xwayland
xwayland-debugsource
xwayland-devel
xwayland-debuginfo
xwayland
xorg-x11-server-Xvfb-debuginfo
x11-base/xorg-server
xorg-x11-server-Xwayland-debuginfo
xorg-x11-server-Xwayland-debugsource
xorg-x11-server-Xwayland-devel
x11-base/xwayland
How to mitigate CVE-2023-6816
Install updates from vendor's website.
X.org Server - update to 21.1.11
Xwayland - update to 23.2.4
Oracle SD-WAN Edge - update to 9.1.1.9.0
xserver-xorg-core (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:1.20.13-1ubuntu1~20.04.14, 2:1.20.13-1ubuntu1~20.04.15, 2:21.1.4-2ubuntu1.7~22.04.7, 2:21.1.4-2ubuntu1.7~22.04.8, 2:21.1.7-1ubuntu3.6, 2:21.1.7-3ubuntu2.6, 2:21.1.7-3ubuntu2.7
xwayland (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:1.20.13-1ubuntu1~20.04.14, 2:1.20.13-1ubuntu1~20.04.15, 2:22.1.1-1ubuntu0.10, 2:22.1.1-1ubuntu0.11, 2:22.1.8-1ubuntu1.4, 2:23.2.0-1ubuntu0.4
tigervnc (Red Hat package) - addressed in versions 1.1.0-25.el6_10.13, 1.8.0-31.el7_9, 1.9.0-15.el8_2.9, 1.11.0-8.el8_4.8, 1.11.0-22.el9_0.8, 1.12.0-6.el8_6.9, 1.12.0-14.el9_2.5, 1.12.0-15.el8_8.7, 1.13.1-2.el8_9.7
tigervnc-icons - addressed in versions 1.8.0-31, 1.13.1-3
tigervnc-license - addressed in versions 1.8.0-31, 1.13.1-3
tigervnc-server-applet - update to 1.8.0-31
tigervnc-server-module - addressed in versions 1.8.0-31, 1.13.1-3
tigervnc-server-minimal - addressed in versions 1.8.0-31, 1.13.1-3
tigervnc-server - addressed in versions 1.8.0-31, 1.13.1-3
tigervnc - addressed in versions 1.8.0-31, 1.13.1-3
tigervnc - addressed in versions 1.12.0, 1.13.1
tigervnc-selinux - update to 1.13.1-3
tigervnc - update to 1.13.1-11.fc39
xorg-x11-server - addressed in versions 1.17.4-18.56, 1.20.14-30
xorg-x11-server-sdk - addressed in versions 1.19.6-10.65.1, 1.20.3-150200.22.5.88.1, 1.20.3-150400.38.40.1, 21.1.4-150500.7.18.1
xorg-x11-server - addressed in versions 1.19.6-10.65.1, 1.20.3-150200.22.5.88.1, 1.20.3-150400.38.40.1, 21.1.4-150500.7.18.1
xorg-x11-server-debuginfo - addressed in versions 1.19.6-10.65.1, 1.20.3-150200.22.5.88.1, 1.20.3-150400.38.40.1, 21.1.4-150500.7.18.1
xorg-x11-server-debugsource - addressed in versions 1.19.6-10.65.1, 1.20.3-150200.22.5.88.1, 1.20.3-150400.38.40.1, 21.1.4-150500.7.18.1
xorg-x11-server-extra-debuginfo - addressed in versions 1.19.6-10.65.1, 1.20.3-150200.22.5.88.1, 1.20.3-150400.38.40.1, 21.1.4-150500.7.18.1
xorg-x11-server-extra - addressed in versions 1.19.6-10.65.1, 1.20.3-150200.22.5.88.1, 1.20.3-150400.38.40.1, 21.1.4-150500.7.18.1
xorg-x11-server-wayland - update to 1.20.3-150200.22.5.88.1
xorg-x11-server-wayland-debuginfo - update to 1.20.3-150200.22.5.88.1
xorg-x11-server-source - addressed in versions 1.20.3-150400.38.40.1, 21.1.4-150500.7.18.1
xorg-x11-server-Xnest - addressed in versions 1.20.4-27, 1.20.14-17
xorg-x11-server-Xorg - addressed in versions 1.20.4-27, 1.20.14-17
xorg-x11-server-Xvfb - addressed in versions 1.20.4-27, 1.20.14-17
xorg-x11-server-source - addressed in versions 1.20.4-27, 1.20.14-17
xorg-x11-server-Xdmx - addressed in versions 1.20.4-27, 1.20.14-17
xorg-x11-server-Xephyr - addressed in versions 1.20.4-27, 1.20.14-17
xorg-x11-server-Xwayland - addressed in versions 1.20.4-27, 22.1.9-5
xorg-x11-server-common - addressed in versions 1.20.4-27, 1.20.14-17
xorg-x11-server-devel - addressed in versions 1.20.4-27, 1.20.14-17
xorg-x11-server (Red Hat package) - addressed in versions 1.20.4-27.el7_9, 1.20.11-24.el9
xorg-x11-server - update to 1.20.8-23
xorg-x11-server-devel - update to 1.20.8-23
xorg-x11-server-debugsource - update to 1.20.8-23
xorg-x11-server-debuginfo - update to 1.20.8-23
xorg-x11-server-Xephyr - update to 1.20.8-23
xorg-x11-server-help - update to 1.20.8-23
xorg-server (Debian package) - addressed in versions 2:1.20.11-1+deb11u11, 2:21.1.7-3+deb12u5
xorg-server-xvfb - update to 1.20.14
xorg-server-xnest - update to 1.20.14
xorg-server-xephyr - update to 1.20.14
xorg-server - update to 1.20.14
xorg-x11-server - update to 1.20.14-29.fc39
xorg-x11-server-Xwayland (Red Hat package) - addressed in versions 21.1.3-15.el8, 22.1.9-5.el9
xorg-server-xwayland - update to 21.1.4
xwayland-debugsource - addressed in versions 21.1.4-150400.3.31.1, 22.1.5-150500.7.14.1
xwayland-devel - addressed in versions 21.1.4-150400.3.31.1, 22.1.5-150500.7.14.1
xwayland-debuginfo - addressed in versions 21.1.4-150400.3.31.1, 22.1.5-150500.7.14.1
xwayland - addressed in versions 21.1.4-150400.3.31.1, 22.1.5-150500.7.14.1
xorg-x11-server-Xvfb-debuginfo - update to 21.1.4-150500.7.18.1
xorg-x11-server-Xvfb - update to 21.1.4-150500.7.18.1
x11-base/xorg-server - update to 21.1.11
xorg-x11-server-Xwayland-debuginfo - update to 22.1.2-4
xorg-x11-server-Xwayland-debugsource - update to 22.1.2-4
xorg-x11-server-Xwayland-devel - update to 22.1.2-4
xorg-x11-server-Xwayland - update to 22.1.2-4
xorg-x11-server-Xwayland - addressed in versions 22.1.9-5.fc38, 23.2.4-1.fc39
x11-base/xwayland - update to 23.2.4
Xwayland - update to 23.2.4
Oracle SD-WAN Edge - update to 9.1.1.9.0
xserver-xorg-core (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:1.20.13-1ubuntu1~20.04.14, 2:1.20.13-1ubuntu1~20.04.15, 2:21.1.4-2ubuntu1.7~22.04.7, 2:21.1.4-2ubuntu1.7~22.04.8, 2:21.1.7-1ubuntu3.6, 2:21.1.7-3ubuntu2.6, 2:21.1.7-3ubuntu2.7
xwayland (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:1.20.13-1ubuntu1~20.04.14, 2:1.20.13-1ubuntu1~20.04.15, 2:22.1.1-1ubuntu0.10, 2:22.1.1-1ubuntu0.11, 2:22.1.8-1ubuntu1.4, 2:23.2.0-1ubuntu0.4
tigervnc (Red Hat package) - addressed in versions 1.1.0-25.el6_10.13, 1.8.0-31.el7_9, 1.9.0-15.el8_2.9, 1.11.0-8.el8_4.8, 1.11.0-22.el9_0.8, 1.12.0-6.el8_6.9, 1.12.0-14.el9_2.5, 1.12.0-15.el8_8.7, 1.13.1-2.el8_9.7
tigervnc-icons - addressed in versions 1.8.0-31, 1.13.1-3
tigervnc-license - addressed in versions 1.8.0-31, 1.13.1-3
tigervnc-server-applet - update to 1.8.0-31
tigervnc-server-module - addressed in versions 1.8.0-31, 1.13.1-3
tigervnc-server-minimal - addressed in versions 1.8.0-31, 1.13.1-3
tigervnc-server - addressed in versions 1.8.0-31, 1.13.1-3
tigervnc - addressed in versions 1.8.0-31, 1.13.1-3
tigervnc - addressed in versions 1.12.0, 1.13.1
tigervnc-selinux - update to 1.13.1-3
tigervnc - update to 1.13.1-11.fc39
xorg-x11-server - addressed in versions 1.17.4-18.56, 1.20.14-30
xorg-x11-server-sdk - addressed in versions 1.19.6-10.65.1, 1.20.3-150200.22.5.88.1, 1.20.3-150400.38.40.1, 21.1.4-150500.7.18.1
xorg-x11-server - addressed in versions 1.19.6-10.65.1, 1.20.3-150200.22.5.88.1, 1.20.3-150400.38.40.1, 21.1.4-150500.7.18.1
xorg-x11-server-debuginfo - addressed in versions 1.19.6-10.65.1, 1.20.3-150200.22.5.88.1, 1.20.3-150400.38.40.1, 21.1.4-150500.7.18.1
xorg-x11-server-debugsource - addressed in versions 1.19.6-10.65.1, 1.20.3-150200.22.5.88.1, 1.20.3-150400.38.40.1, 21.1.4-150500.7.18.1
xorg-x11-server-extra-debuginfo - addressed in versions 1.19.6-10.65.1, 1.20.3-150200.22.5.88.1, 1.20.3-150400.38.40.1, 21.1.4-150500.7.18.1
xorg-x11-server-extra - addressed in versions 1.19.6-10.65.1, 1.20.3-150200.22.5.88.1, 1.20.3-150400.38.40.1, 21.1.4-150500.7.18.1
xorg-x11-server-wayland - update to 1.20.3-150200.22.5.88.1
xorg-x11-server-wayland-debuginfo - update to 1.20.3-150200.22.5.88.1
xorg-x11-server-source - addressed in versions 1.20.3-150400.38.40.1, 21.1.4-150500.7.18.1
xorg-x11-server-Xnest - addressed in versions 1.20.4-27, 1.20.14-17
xorg-x11-server-Xorg - addressed in versions 1.20.4-27, 1.20.14-17
xorg-x11-server-Xvfb - addressed in versions 1.20.4-27, 1.20.14-17
xorg-x11-server-source - addressed in versions 1.20.4-27, 1.20.14-17
xorg-x11-server-Xdmx - addressed in versions 1.20.4-27, 1.20.14-17
xorg-x11-server-Xephyr - addressed in versions 1.20.4-27, 1.20.14-17
xorg-x11-server-Xwayland - addressed in versions 1.20.4-27, 22.1.9-5
xorg-x11-server-common - addressed in versions 1.20.4-27, 1.20.14-17
xorg-x11-server-devel - addressed in versions 1.20.4-27, 1.20.14-17
xorg-x11-server (Red Hat package) - addressed in versions 1.20.4-27.el7_9, 1.20.11-24.el9
xorg-x11-server - update to 1.20.8-23
xorg-x11-server-devel - update to 1.20.8-23
xorg-x11-server-debugsource - update to 1.20.8-23
xorg-x11-server-debuginfo - update to 1.20.8-23
xorg-x11-server-Xephyr - update to 1.20.8-23
xorg-x11-server-help - update to 1.20.8-23
xorg-server (Debian package) - addressed in versions 2:1.20.11-1+deb11u11, 2:21.1.7-3+deb12u5
xorg-server-xvfb - update to 1.20.14
xorg-server-xnest - update to 1.20.14
xorg-server-xephyr - update to 1.20.14
xorg-server - update to 1.20.14
xorg-x11-server - update to 1.20.14-29.fc39
xorg-x11-server-Xwayland (Red Hat package) - addressed in versions 21.1.3-15.el8, 22.1.9-5.el9
xorg-server-xwayland - update to 21.1.4
xwayland-debugsource - addressed in versions 21.1.4-150400.3.31.1, 22.1.5-150500.7.14.1
xwayland-devel - addressed in versions 21.1.4-150400.3.31.1, 22.1.5-150500.7.14.1
xwayland-debuginfo - addressed in versions 21.1.4-150400.3.31.1, 22.1.5-150500.7.14.1
xwayland - addressed in versions 21.1.4-150400.3.31.1, 22.1.5-150500.7.14.1
xorg-x11-server-Xvfb-debuginfo - update to 21.1.4-150500.7.18.1
xorg-x11-server-Xvfb - update to 21.1.4-150500.7.18.1
x11-base/xorg-server - update to 21.1.11
xorg-x11-server-Xwayland-debuginfo - update to 22.1.2-4
xorg-x11-server-Xwayland-debugsource - update to 22.1.2-4
xorg-x11-server-Xwayland-devel - update to 22.1.2-4
xorg-x11-server-Xwayland - update to 22.1.2-4
xorg-x11-server-Xwayland - addressed in versions 22.1.9-5.fc38, 23.2.4-1.fc39
x11-base/xwayland - update to 23.2.4
External References
Related Security Bulletins
- Multiple vulnerabilities in X.org Server and Xwayland
- Ubuntu update for xorg-server
- Slackware Linux update for xorg-server
- Fedora 39 update for xorg-x11-server-Xwayland
- Fedora 38 update for xorg-x11-server-Xwayland
- SUSE update for xorg-x11-server
- SUSE update for xorg-x11-server
- SUSE update for xwayland
- SUSE update for xorg-x11-server
- SUSE update for xorg-x11-server
- Fedora 39 update for tigervnc, xorg-x11-server
- SUSE update for xwayland
- Slackware Linux update for tigervnc
- Red Hat Enterprise Linux 7 update for xorg-x11-server
- Ubuntu update for xorg-server
- CentOS 7 update for xorg-x11-server
- Red Hat Enterprise Linux 8 update for tigervnc
- Red Hat Enterprise Linux 8.8 Extended Update Support update for tigervnc
- Ubuntu update for xorg-server
- Red Hat Enterprise Linux 8 update for tigervnc
- Red Hat Enterprise Linux 9.0 Extended Update Support update for tigervnc
- Red Hat Enterprise Linux 8 update for tigervnc
- Red Hat Enterprise Linux 8.6 Extended Update Support update for tigervnc
- Red Hat Enterprise Linux 9.2 Extended Update Support update for tigervnc
- Gentoo update for X.Org X Server, XWayland
- Ubuntu update for xorg-server
- CentOS 7 update for tigervnc
- Red Hat Enterprise Linux 7 update for tigervnc
- openEuler update for xorg-x11-server
- Ubuntu update for xorg-server
- OpenBSD update for X.Org server
- Red Hat Enterprise Linux 9 update for xorg-x11-server
- Red Hat Enterprise Linux 9 update for xorg-x11-server-Xwayland
- openEuler 22.03 LTS SP1 update for xorg-x11-server-xwayland
- openEuler 22.03 LTS SP2 update for xorg-x11-server-xwayland
- openEuler 22.03 LTS SP3 update for xorg-x11-server-xwayland
- Red Hat Enterprise Linux 8 update for xorg-x11-server-Xwayland
- Debian update for xorg-server
- Amazon Linux AMI update for xorg-x11-server
- Amazon Linux AMI update for xorg-x11-server
- Multiple vulnerabilities in Oracle SD-WAN Edge
- Anolis OS update for xorg-x11-server
- Anolis OS update for tigervnc
- Anolis OS update for xorg-x11-server-Xwayland
- Anolis OS update for tigervnc
- Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION update for tigervnc
- Anolis OS update for xorg-x11-server