Vulnerability · Published Jan 18, 2024 · Assigned by redhat

CVE-2023-6816Xorg-x11-server: heap buffer overflow in devicefocusevent and procxiquerypointer

Critical 9.8

In plain English

A critical-severity out-of-bounds write in Red Hat Enterprise Linux 6 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)2.1%top 18.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8tigervnc1.13.1-2.el8_9.7.alma.1ALSA-2024:0607
AlmaLinux:9tigervnc1.13.1-3.el9_3.6.alma.1ALSA-2024:0557
AlmaLinux:8tigervnc-icons1.13.1-2.el8_9.7.alma.1ALSA-2024:0607
AlmaLinux:9tigervnc-icons1.13.1-3.el9_3.6.alma.1ALSA-2024:0557
AlmaLinux:8tigervnc-license1.13.1-2.el8_9.7.alma.1ALSA-2024:0607
AlmaLinux:9tigervnc-license1.13.1-3.el9_3.6.alma.1ALSA-2024:0557
AlmaLinux:8tigervnc-selinux1.13.1-2.el8_9.7.alma.1ALSA-2024:0607
AlmaLinux:9tigervnc-selinux1.13.1-3.el9_3.6.alma.1ALSA-2024:0557
AlmaLinux:8tigervnc-server1.13.1-2.el8_9.7.alma.1ALSA-2024:0607
AlmaLinux:9tigervnc-server1.13.1-3.el9_3.6.alma.1ALSA-2024:0557
AlmaLinux:8tigervnc-server-minimal1.13.1-2.el8_9.7.alma.1ALSA-2024:0607
AlmaLinux:9tigervnc-server-minimal1.13.1-3.el9_3.6.alma.1ALSA-2024:0557
AlmaLinux:8tigervnc-server-module1.13.1-2.el8_9.7.alma.1ALSA-2024:0607
AlmaLinux:9tigervnc-server-module1.13.1-3.el9_3.6.alma.1ALSA-2024:0557
AlmaLinux:8xorg-x11-server-Xdmx1.20.11-22.el8ALSA-2024:2995
AlmaLinux:9xorg-x11-server-Xdmx1.20.11-24.el9ALSA-2024:2169
AlmaLinux:8xorg-x11-server-Xephyr1.20.11-22.el8ALSA-2024:2995
AlmaLinux:9xorg-x11-server-Xephyr1.20.11-24.el9ALSA-2024:2169
AlmaLinux:8xorg-x11-server-Xnest1.20.11-22.el8ALSA-2024:2995
AlmaLinux:9xorg-x11-server-Xnest1.20.11-24.el9ALSA-2024:2169
AlmaLinux:8xorg-x11-server-Xorg1.20.11-22.el8ALSA-2024:2995
AlmaLinux:9xorg-x11-server-Xorg1.20.11-24.el9ALSA-2024:2169
AlmaLinux:8xorg-x11-server-Xvfb1.20.11-22.el8ALSA-2024:2995
AlmaLinux:9xorg-x11-server-Xvfb1.20.11-24.el9ALSA-2024:2169
AlmaLinux:8xorg-x11-server-Xwayland21.1.3-15.el8ALSA-2024:2996
AlmaLinux:9xorg-x11-server-Xwayland22.1.9-5.el9ALSA-2024:2170
AlmaLinux:8xorg-x11-server-common1.20.11-22.el8ALSA-2024:2995
AlmaLinux:9xorg-x11-server-common1.20.11-24.el9ALSA-2024:2169
AlmaLinux:8xorg-x11-server-devel1.20.11-22.el8ALSA-2024:2995
AlmaLinux:9xorg-x11-server-devel1.20.11-24.el9ALSA-2024:2169
AlmaLinux:8xorg-x11-server-source1.20.11-22.el8ALSA-2024:2995
AlmaLinux:9xorg-x11-server-source1.20.11-24.el9ALSA-2024:2169
Alpine:v3.20xorg-server21.1.11-r0ALPINE-CVE-2023-6816
Alpine:v3.21xorg-server21.1.11-r0ALPINE-CVE-2023-6816
Alpine:v3.22xorg-server21.1.11-r0ALPINE-CVE-2023-6816
Alpine:v3.23xorg-server21.1.11-r0ALPINE-CVE-2023-6816
Alpine:v3.24xorg-server21.1.11-r0ALPINE-CVE-2023-6816
Alpine:v3.20xwayland23.2.4-r0ALPINE-CVE-2023-6816
Alpine:v3.21xwayland23.2.4-r0ALPINE-CVE-2023-6816
Alpine:v3.22xwayland23.2.4-r0ALPINE-CVE-2023-6816
Alpine:v3.23xwayland23.2.4-r0ALPINE-CVE-2023-6816
Alpine:v3.24xwayland23.2.4-r0ALPINE-CVE-2023-6816
Debian:12xorg-server2:21.1.7-3+deb12u5DSA-5603-1
Debian:12xorg-server2:21.1.7-3+deb12u5DEBIAN-CVE-2023-6816
Debian:13xorg-server2:21.1.11-1DEBIAN-CVE-2023-6816
Debian:14xorg-server2:21.1.11-1DEBIAN-CVE-2023-6816
Debian:12xwaylandno fix listedDEBIAN-CVE-2023-6816
Debian:13xwayland2:23.2.4-1DEBIAN-CVE-2023-6816
Debian:14xwayland2:23.2.4-1DEBIAN-CVE-2023-6816
Rocky Linux:8tigervnc0:1.13.1-2.el8_9.7RLSA-2024:0607
Ubuntu:22.04:LTSxorg-server2:21.1.4-2ubuntu1.7~22.04.7USN-6587-1
Ubuntu:22.04:LTSxorg-server2:21.1.4-2ubuntu1.7~22.04.7UBUNTU-CVE-2023-6816
Ubuntu:22.04:LTSxwayland2:22.1.1-1ubuntu0.10USN-6587-1
Ubuntu:22.04:LTSxwayland2:22.1.1-1ubuntu0.10UBUNTU-CVE-2023-6816
Ubuntu:24.04:LTSxwayland2:23.2.4-1UBUNTU-CVE-2023-6816

Affected products (as reported)

Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References