CVE-2023-6816
xorg-x11-server: Heap buffer overflow in DeviceFocusEvent and ProcXIQueryPointer
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, CBL-Mariner. Rated lower by Red Hat (high), Amazon (high), Rocky Linux (high), AlmaLinux (medium), Oracle (medium), Ubuntu (medium).
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| CBL-Mariner 2.0 | xorg-x11-server | 0:1.20.10-10.cm2 |
| alma 8 | tigervnc, tigervnc-icons, tigervnc-license and 5 more | 1.13.1-2.el8_9.7.alma.1 and 1 more |
| alma 9 | tigervnc, tigervnc-icons, tigervnc-license and 13 more | 1.13.1-3.el9_3.6.alma.1 and 2 more |
| alpine 3.19 | xorg-server, xwayland | 21.1.11-r0 and 1 more |
| alpine 3.20 | xorg-server, xwayland | 21.1.11-r0 and 1 more |
| alpine 3.21 | xorg-server, xwayland | 21.1.11-r0 and 1 more |
| alpine 3.22 | xorg-server, xwayland | 21.1.11-r0 and 1 more |
| alpine 3.23 | xorg-server, xwayland | 21.1.11-r0 and 1 more |
| alpine 3.24 | xorg-server, xwayland | 21.1.11-r0 and 1 more |
| alpine edge | xorg-server, xwayland | 21.1.11-r0 and 1 more |
| amazon linux 1 | xorg-x11-server-Xdmx, xorg-x11-server-Xephyr, xorg-x11-server-Xnest and 6 more | 1.17.4-18.56.amzn1 |
| amazon linux 2 | xorg-x11-server-Xdmx, xorg-x11-server-Xephyr, xorg-x11-server-Xnest and 7 more | 1.20.4-22.amzn2.0.4 |
Show all 193 entries from 49 sources
| Source | Package | Fixed in |
|---|---|---|
| CBL-Mariner 2.0 | xorg-x11-server | 0:1.20.10-10.cm2 |
| alma 8 | tigervnc | 1.13.1-2.el8_9.7.alma.1 |
| alma 8 | tigervnc-icons | 1.13.1-2.el8_9.7.alma.1 |
| alma 8 | tigervnc-license | 1.13.1-2.el8_9.7.alma.1 |
| alma 8 | tigervnc-selinux | 1.13.1-2.el8_9.7.alma.1 |
| alma 8 | tigervnc-server | 1.13.1-2.el8_9.7.alma.1 |
| alma 8 | tigervnc-server-minimal | 1.13.1-2.el8_9.7.alma.1 |
| alma 8 | tigervnc-server-module | 1.13.1-2.el8_9.7.alma.1 |
| alma 8 | xorg-x11-server-Xwayland | 21.1.3-15.el8 |
| alma 9 | tigervnc | 1.13.1-3.el9_3.6.alma.1 |
| alma 9 | tigervnc-icons | 1.13.1-3.el9_3.6.alma.1 |
| alma 9 | tigervnc-license | 1.13.1-3.el9_3.6.alma.1 |
| alma 9 | tigervnc-selinux | 1.13.1-3.el9_3.6.alma.1 |
| alma 9 | tigervnc-server | 1.13.1-3.el9_3.6.alma.1 |
| alma 9 | tigervnc-server-minimal | 1.13.1-3.el9_3.6.alma.1 |
| alma 9 | tigervnc-server-module | 1.13.1-3.el9_3.6.alma.1 |
| alma 9 | xorg-x11-server-Xdmx | 1.20.11-24.el9 |
| alma 9 | xorg-x11-server-Xephyr | 1.20.11-24.el9 |
| alma 9 | xorg-x11-server-Xnest | 1.20.11-24.el9 |
| alma 9 | xorg-x11-server-Xorg | 1.20.11-24.el9 |
| alma 9 | xorg-x11-server-Xvfb | 1.20.11-24.el9 |
| alma 9 | xorg-x11-server-Xwayland | 22.1.9-5.el9 |
| alma 9 | xorg-x11-server-common | 1.20.11-24.el9 |
| alma 9 | xorg-x11-server-devel | 1.20.11-24.el9 |
| alma 9 | xorg-x11-server-source | 1.20.11-24.el9 |
| alpine 3.19 | xorg-server | 21.1.11-r0 |
| alpine 3.19 | xwayland | 23.2.4-r0 |
| alpine 3.20 | xorg-server | 21.1.11-r0 |
| alpine 3.20 | xwayland | 23.2.4-r0 |
| alpine 3.21 | xorg-server | 21.1.11-r0 |
| alpine 3.21 | xwayland | 23.2.4-r0 |
| alpine 3.22 | xorg-server | 21.1.11-r0 |
| alpine 3.22 | xwayland | 23.2.4-r0 |
| alpine 3.23 | xorg-server | 21.1.11-r0 |
| alpine 3.23 | xwayland | 23.2.4-r0 |
| alpine 3.24 | xorg-server | 21.1.11-r0 |
| alpine 3.24 | xwayland | 23.2.4-r0 |
| alpine edge | xorg-server | 21.1.11-r0 |
| alpine edge | xwayland | 23.2.4-r0 |
| amazon linux 1 | xorg-x11-server-Xdmx | 1.17.4-18.56.amzn1 |
| amazon linux 1 | xorg-x11-server-Xephyr | 1.17.4-18.56.amzn1 |
| amazon linux 1 | xorg-x11-server-Xnest | 1.17.4-18.56.amzn1 |
| amazon linux 1 | xorg-x11-server-Xorg | 1.17.4-18.56.amzn1 |
| amazon linux 1 | xorg-x11-server-Xvfb | 1.17.4-18.56.amzn1 |
| amazon linux 1 | xorg-x11-server-common | 1.17.4-18.56.amzn1 |
| amazon linux 1 | xorg-x11-server-debuginfo | 1.17.4-18.56.amzn1 |
| amazon linux 1 | xorg-x11-server-devel | 1.17.4-18.56.amzn1 |
| amazon linux 1 | xorg-x11-server-source | 1.17.4-18.56.amzn1 |
| amazon linux 2 | xorg-x11-server-Xdmx | 1.20.4-22.amzn2.0.4 |
| amazon linux 2 | xorg-x11-server-Xephyr | 1.20.4-22.amzn2.0.4 |
| amazon linux 2 | xorg-x11-server-Xnest | 1.20.4-22.amzn2.0.4 |
| amazon linux 2 | xorg-x11-server-Xorg | 1.20.4-22.amzn2.0.4 |
| amazon linux 2 | xorg-x11-server-Xvfb | 1.20.4-22.amzn2.0.4 |
| amazon linux 2 | xorg-x11-server-Xwayland | 1.20.4-22.amzn2.0.4 |
| amazon linux 2 | xorg-x11-server-common | 1.20.4-22.amzn2.0.4 |
| amazon linux 2 | xorg-x11-server-debuginfo | 1.20.4-22.amzn2.0.4 |
| amazon linux 2 | xorg-x11-server-devel | 1.20.4-22.amzn2.0.4 |
| amazon linux 2 | xorg-x11-server-source | 1.20.4-22.amzn2.0.4 |
| amazon linux 2023 | xorg-x11-server-Xdmx | 1.20.14-30.amzn2023.0.1 |
| amazon linux 2023 | xorg-x11-server-Xdmx-debuginfo | 1.20.14-30.amzn2023.0.1 |
| amazon linux 2023 | xorg-x11-server-Xephyr | 1.20.14-30.amzn2023.0.1 |
| amazon linux 2023 | xorg-x11-server-Xephyr-debuginfo | 1.20.14-30.amzn2023.0.1 |
| amazon linux 2023 | xorg-x11-server-Xnest | 1.20.14-30.amzn2023.0.1 |
| amazon linux 2023 | xorg-x11-server-Xnest-debuginfo | 1.20.14-30.amzn2023.0.1 |
| amazon linux 2023 | xorg-x11-server-Xorg | 1.20.14-30.amzn2023.0.1 |
| amazon linux 2023 | xorg-x11-server-Xorg-debuginfo | 1.20.14-30.amzn2023.0.1 |
| amazon linux 2023 | xorg-x11-server-Xvfb | 1.20.14-30.amzn2023.0.1 |
| amazon linux 2023 | xorg-x11-server-Xvfb-debuginfo | 1.20.14-30.amzn2023.0.1 |
| amazon linux 2023 | xorg-x11-server-common | 1.20.14-30.amzn2023.0.1 |
| amazon linux 2023 | xorg-x11-server-debuginfo | 1.20.14-30.amzn2023.0.1 |
| amazon linux 2023 | xorg-x11-server-debugsource | 1.20.14-30.amzn2023.0.1 |
| amazon linux 2023 | xorg-x11-server-devel | 1.20.14-30.amzn2023.0.1 |
| amazon linux 2023 | xorg-x11-server-source | 1.20.14-30.amzn2023.0.1 |
| chainguard | xorg-server | 21.1.10-r5 |
| debian 10 | xorg-server | 2:1.20.4-1+deb10u13 |
| debian 11 | xorg-server | 2:1.20.11-1+deb11u11 |
| debian 12 | xorg-server | 2:21.1.7-3+deb12u5 |
| debian 12 | xwayland | no fix listed |
| debian 13 | xorg-server | 2:21.1.11-1 |
| debian 13 | xwayland | 2:23.2.4-1 |
| debian 14 | xorg-server | 2:21.1.11-1 |
| debian 14 | xwayland | 2:23.2.4-1 |
| echo | xorg-server | 2:21.1.7-3+deb12u5 |
| echo | xwayland | 2:23.2.4-1 |
| Oracle Linux 7 | tigervnc | 1.8.0-31.0.1.el7_9 |
| Oracle Linux 7 | tigervnc-icons | 1.8.0-31.0.1.el7_9 |
| Oracle Linux 7 | tigervnc-license | 1.8.0-31.0.1.el7_9 |
| Oracle Linux 7 | tigervnc-server | 1.8.0-31.0.1.el7_9 |
| Oracle Linux 7 | tigervnc-server-applet | 1.8.0-31.0.1.el7_9 |
| Oracle Linux 7 | tigervnc-server-minimal | 1.8.0-31.0.1.el7_9 |
| Oracle Linux 7 | tigervnc-server-module | 1.8.0-31.0.1.el7_9 |
| Oracle Linux 7 | xorg-x11-server-Xdmx | 1.20.4-27.el7_9 |
| Oracle Linux 7 | xorg-x11-server-Xephyr | 1.20.4-27.el7_9 |
| Oracle Linux 7 | xorg-x11-server-Xnest | 1.20.4-27.el7_9 |
| Oracle Linux 7 | xorg-x11-server-Xorg | 1.20.4-27.el7_9 |
| Oracle Linux 7 | xorg-x11-server-Xvfb | 1.20.4-27.el7_9 |
| Oracle Linux 7 | xorg-x11-server-Xwayland | 1.20.4-27.el7_9 |
| Oracle Linux 7 | xorg-x11-server-common | 1.20.4-27.el7_9 |
| Oracle Linux 7 | xorg-x11-server-devel | 1.20.4-27.el7_9 |
| Oracle Linux 7 | xorg-x11-server-source | 1.20.4-27.el7_9 |
| Oracle Linux 8 | tigervnc | 1.13.1-2.el8_9.7 |
| Oracle Linux 8 | tigervnc-icons | 1.13.1-2.el8_9.7 |
| Oracle Linux 8 | tigervnc-license | 1.13.1-2.el8_9.7 |
| Oracle Linux 8 | tigervnc-selinux | 1.13.1-2.el8_9.7 |
| Oracle Linux 8 | tigervnc-server | 1.13.1-2.el8_9.7 |
| Oracle Linux 8 | tigervnc-server-minimal | 1.13.1-2.el8_9.7 |
| Oracle Linux 8 | tigervnc-server-module | 1.13.1-2.el8_9.7 |
| Oracle Linux 8 | xorg-x11-server-Xwayland | 21.1.3-15.el8 |
| Oracle Linux 9 | tigervnc | 1.13.1-3.el9_3.6 |
| Oracle Linux 9 | tigervnc-icons | 1.13.1-3.el9_3.6 |
| Oracle Linux 9 | tigervnc-license | 1.13.1-3.el9_3.6 |
| Oracle Linux 9 | tigervnc-selinux | 1.13.1-3.el9_3.6 |
| Oracle Linux 9 | tigervnc-server | 1.13.1-3.el9_3.6 |
| Oracle Linux 9 | tigervnc-server-minimal | 1.13.1-3.el9_3.6 |
| Oracle Linux 9 | tigervnc-server-module | 1.13.1-3.el9_3.6 |
| Oracle Linux 9 | xorg-x11-server-Xdmx | 1.20.11-24.el9 |
| Oracle Linux 9 | xorg-x11-server-Xephyr | 1.20.11-24.el9 |
| Oracle Linux 9 | xorg-x11-server-Xnest | 1.20.11-24.el9 |
| Oracle Linux 9 | xorg-x11-server-Xorg | 1.20.11-24.el9 |
| Oracle Linux 9 | xorg-x11-server-Xvfb | 1.20.11-24.el9 |
| Oracle Linux 9 | xorg-x11-server-Xwayland | 22.1.9-5.el9 |
| Oracle Linux 9 | xorg-x11-server-common | 1.20.11-24.el9 |
| Oracle Linux 9 | xorg-x11-server-devel | 1.20.11-24.el9 |
| Oracle Linux 9 | xorg-x11-server-source | 1.20.11-24.el9 |
| rapidfort amazon linux 2023 | xorg-x11-server-Xdmx | 1.20.14-30.amzn2023.0.1 |
| rapidfort amazon linux 2023 | xorg-x11-server-Xephyr | 1.20.14-30.amzn2023.0.1 |
| rapidfort amazon linux 2023 | xorg-x11-server-Xnest | 1.20.14-30.amzn2023.0.1 |
| rapidfort amazon linux 2023 | xorg-x11-server-Xorg | 1.20.14-30.amzn2023.0.1 |
| rapidfort amazon linux 2023 | xorg-x11-server-Xvfb | 1.20.14-30.amzn2023.0.1 |
| rapidfort amazon linux 2023 | xorg-x11-server-common | 1.20.14-30.amzn2023.0.1 |
| rapidfort amazon linux 2023 | xorg-x11-server-devel | 1.20.14-30.amzn2023.0.1 |
| rapidfort amazon linux 2023 | xorg-x11-server-source | 1.20.14-30.amzn2023.0.1 |
| rapidfort debian 12 | xwayland | 2:23.2.4-1 |
| rapidfort debian 13 | xwayland | 2:23.2.4-1 |
| rapidfort Oracle Linux 9 | tigervnc | 0:1.13.1-3.el9_3.6 |
| rapidfort Oracle Linux 9 | tigervnc-icons | 0:1.13.1-3.el9_3.6 |
| rapidfort Oracle Linux 9 | tigervnc-license | 0:1.13.1-3.el9_3.6 |
| rapidfort Oracle Linux 9 | tigervnc-selinux | 0:1.13.1-3.el9_3.6 |
| rapidfort Oracle Linux 9 | tigervnc-server | 0:1.13.1-3.el9_3.6 |
| rapidfort Oracle Linux 9 | tigervnc-server-minimal | 0:1.13.1-3.el9_3.6 |
| rapidfort Oracle Linux 9 | tigervnc-server-module | 0:1.13.1-3.el9_3.6 |
| rapidfort Oracle Linux 9 | xorg-x11-server-Xdmx | 0:1.20.11-24.el9 |
| rapidfort Oracle Linux 9 | xorg-x11-server-Xephyr | 0:1.20.11-24.el9 |
| rapidfort Oracle Linux 9 | xorg-x11-server-Xnest | 0:1.20.11-24.el9 |
| rapidfort Oracle Linux 9 | xorg-x11-server-Xorg | 0:1.20.11-24.el9 |
| rapidfort Oracle Linux 9 | xorg-x11-server-Xvfb | 0:1.20.11-24.el9 |
| rapidfort Oracle Linux 9 | xorg-x11-server-Xwayland | 0:22.1.9-5.el9 |
| rapidfort Oracle Linux 9 | xorg-x11-server-common | 0:1.20.11-24.el9 |
| rapidfort ubuntu 20.04 | xwayland | 2:22.1.1-1ubuntu0.10 |
| rapidfort ubuntu 22.04 | xwayland | 2:22.1.1-1ubuntu0.10 |
| rapidfort ubuntu 24.04 | xwayland | 2:22.1.1-1ubuntu0.10 |
| Red Hat | xorg-x11-server | no fix listed |
| Red Hat | xorg-x11-server-Xdmx | no fix listed |
| Red Hat | xorg-x11-server-Xephyr | no fix listed |
| Red Hat | xorg-x11-server-Xnest | no fix listed |
| Red Hat | xorg-x11-server-Xorg | no fix listed |
| Red Hat | xorg-x11-server-Xvfb | no fix listed |
| Red Hat | xorg-x11-server-common | no fix listed |
| Red Hat | xorg-x11-server-devel | no fix listed |
| Red Hat | xorg-x11-server-source | no fix listed |
| rocky 8 | tigervnc | 0.0.0 |
| rocky 8 | tigervnc-icons | 1.13.1-2.el8_9.7 |
| rocky 8 | tigervnc-license | 1.13.1-2.el8_9.7 |
| rocky 8 | tigervnc-selinux | 1.13.1-2.el8_9.7 |
| rocky 8 | tigervnc-server | 0.0.0 |
| rocky 8 | tigervnc-server-minimal | 0.0.0 |
| rocky 8 | tigervnc-server-module | 0.0.0 |
| root.io debian 11 | rootio-xorg-server | 2:1.20.11-1+deb11u11 |
| root.io debian 12 | rootio-xorg-server | 2:21.1.7-3+deb12u5 |
| ubuntu 14.04-ESM | xorg-server | 2:1.15.1-0ubuntu2.11+esm9 |
| ubuntu 16.04-ESM | xorg-server | 2:1.18.4-0ubuntu0.12+esm9 |
| ubuntu 18.04-ESM | xorg-server | 2:1.19.6-1ubuntu4.15+esm4 |
| ubuntu 20.04 | xorg-server | 2:1.20.13-1ubuntu1~20.04.14 |
| ubuntu 20.04-ESM | xorg-server | 2:1.20.13-1ubuntu1~20.04.14 |
| ubuntu 22.04 | xorg-server | 2:21.1.4-2ubuntu1.7~22.04.7 |
| ubuntu 22.04 | xwayland | 2:22.1.1-1ubuntu0.10 |
| ubuntu 23.04 | xorg-server | 2:21.1.7-1ubuntu3.6 |
| ubuntu 23.04 | xwayland | 2:22.1.8-1ubuntu1.4 |
| ubuntu 23.10 | xorg-server | 2:21.1.7-3ubuntu2.6 |
| ubuntu 23.10 | xwayland | 2:23.2.0-1ubuntu0.4 |
| ubuntu 24.04 | xorg-server | 2:21.1.11-1ubuntu1 |
| ubuntu 24.04 | xwayland | 2:23.2.4-1 |
| ubuntu 24.10 | xorg-server | 2:21.1.11-1ubuntu1 |
| ubuntu 24.10 | xwayland | 2:23.2.4-1 |
| ubuntu 25.04 | xorg-server | 2:21.1.11-1ubuntu1 |
| ubuntu 25.04 | xwayland | 2:23.2.4-1 |
| ubuntu 25.10 | xorg-server | 2:21.1.11-1ubuntu1 |
| ubuntu 25.10 | xwayland | 2:23.2.4-1 |
| ubuntu 26.04 | xorg-server | 2:21.1.11-1ubuntu1 |
| ubuntu 26.04 | xwayland | 2:23.2.4-1 |
| ubuntu 26.10 | xorg-server | 2:21.1.11-1ubuntu1 |
| ubuntu 26.10 | xwayland | 2:23.2.4-1 |
| wolfi | xorg-server | 21.1.10-r5 |
References
- http://www.openwall.com/lists/oss-security/2024/01/18/1
- https://access.redhat.com/errata/RHSA-2024:0320
- https://access.redhat.com/errata/RHSA-2024:0557
- https://access.redhat.com/errata/RHSA-2024:0558
- https://access.redhat.com/errata/RHSA-2024:0597
- https://access.redhat.com/errata/RHSA-2024:0607
- https://access.redhat.com/errata/RHSA-2024:0614
- https://access.redhat.com/errata/RHSA-2024:0617
All 49 references
- https://access.redhat.com/errata/RHSA-2024:0621
- https://access.redhat.com/errata/RHSA-2024:0626
- https://access.redhat.com/errata/RHSA-2024:0629
- https://access.redhat.com/errata/RHSA-2024:2169
- https://access.redhat.com/errata/RHSA-2024:2170
- https://access.redhat.com/errata/RHSA-2024:2995
- https://access.redhat.com/errata/RHSA-2024:2996
- https://access.redhat.com/errata/RHSA-2025:12751
- https://access.redhat.com/security/cve/CVE-2023-6816
- https://bugzilla.redhat.com/2243091
- https://bugzilla.redhat.com/2253291
- https://bugzilla.redhat.com/2253298
- https://bugzilla.redhat.com/2256540
- https://bugzilla.redhat.com/2256542
- https://bugzilla.redhat.com/2256690
- https://bugzilla.redhat.com/2257689
- https://bugzilla.redhat.com/2257690
- https://bugzilla.redhat.com/2257691
- https://bugzilla.redhat.com/show_bug.cgi?id=2256540
- https://bugzilla.redhat.com/show_bug.cgi?id=2256542
- https://bugzilla.redhat.com/show_bug.cgi?id=2256690
- https://bugzilla.redhat.com/show_bug.cgi?id=2257691
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-6816
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-0229
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21885
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21886
- https://errata.almalinux.org/9/ALSA-2024-2170.html
- https://errata.rockylinux.org/RLSA-2024:0607
- https://linux.oracle.com/cve/CVE-2023-6816.html
- https://linux.oracle.com/errata/ELSA-2024-2996.html
- https://lists.debian.org/debian-lts-announce/2024/01/msg00016.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5J4H7CH565ALSZZYKOJFYDA5KFLG6NUK/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EJBMCWQ54R6ZL3MYU2D2JBW6JMZL7BQW/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IZ75X54CN4IFYMIV7OK3JVZ57FHQIGIC/
- https://nvd.nist.gov/vuln/detail/CVE-2023-6816
- https://security.gentoo.org/glsa/202401-30
- https://security.netapp.com/advisory/ntap-20240307-0006/
- https://ubuntu.com/security/notices/USN-6587-1
- https://ubuntu.com/security/notices/USN-6587-2
- https://ubuntu.com/security/notices/USN-6587-5
- https://www.cve.org/CVERecord?id=CVE-2023-6816