CVE-2023-6816
Xorg-x11-server: heap buffer overflow in devicefocusevent and procxiquerypointer
Reported by redhat · Published January 18, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| xorg-x11-server-source | Amazon Linux | 1.20.14-30.amzn2023.0.1, 1.20.4-22.amzn2.0.4 |
| xorg-x11-server-common | Amazon Linux | 1.20.14-30.amzn2023.0.1, 1.20.4-22.amzn2.0.4 |
| xorg-x11-server-Xnest | Amazon Linux | 1.20.14-30.amzn2023.0.1, 1.20.4-22.amzn2.0.4 |
| xorg-x11-server-Xdmx | Amazon Linux | 1.20.14-30.amzn2023.0.1, 1.20.4-22.amzn2.0.4 |
| xorg-server | Wolfi | 21.1.10-r5 |
| xorg-x11-server-Xorg | Amazon Linux | 1.20.14-30.amzn2023.0.1, 1.20.4-22.amzn2.0.4 |
| xorg-x11-server-devel | Amazon Linux | 1.20.14-30.amzn2023.0.1, 1.20.4-22.amzn2.0.4 |
| xorg-x11-server-Xwayland | Amazon Linux | 1.20.4-22.amzn2.0.4 |
| xorg-server | Chainguard | 21.1.10-r5 |
| xorg-x11-server-Xvfb | Amazon Linux | 1.20.14-30.amzn2023.0.1, 1.20.4-22.amzn2.0.4 |
| xwayland | Alpine | 23.2.4-r0 |
| xorg-server | Alpine | 21.1.11-r0 |
3 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION | 0:1.1.0-25.el6_10.13 |
| Red Hat | Red Hat Enterprise Linux 7 | 0:1.20.4-27.el7_9 |
| Red Hat | Red Hat Enterprise Linux 7 | 0:1.8.0-31.el7_9 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:1.13.1-2.el8_9.7 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:1.20.11-22.el8 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:21.1.3-15.el8 |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | 0:1.9.0-15.el8_2.9 |
| Red Hat | Red Hat Enterprise Linux 8.2 Telecommunications Update Service | 0:1.9.0-15.el8_2.9 |
| Red Hat | Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | 0:1.9.0-15.el8_2.9 |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 0:1.11.0-8.el8_4.8 |
| Red Hat | Red Hat Enterprise Linux 8.4 Telecommunications Update Service | 0:1.11.0-8.el8_4.8 |
| Red Hat | Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | 0:1.11.0-8.el8_4.8 |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | 0:1.12.0-6.el8_6.9 |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 0:1.12.0-15.el8_8.7 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.13.1-3.el9_3.6 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.20.11-24.el9 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:22.1.9-5.el9 |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | 0:1.11.0-22.el9_0.8 |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 0:1.12.0-14.el9_2.5 |
| Red Hat | Red Hat Enterprise Linux 6 |
…and 41 more
Timeline
- Jan 16, 2024 CVE Published
- Jan 18, 2024 PoC Published (3 in total, the first dated here)
- Jan 24, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (7 in total, the first dated here)
- Jan 23, 2026 Security Advisory (22 in total, the first dated here)
- Mar 31, 2026 Distribution Patch (20 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-6816
vulnetix vdb fixes CVE-2023-6816
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-6816/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2024:0320 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0557 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0558 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0597 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0607 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0614 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0617 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0621 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0626 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0629 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:2169 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:2170 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:2995 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:2996 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:12751 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2257691 issue-trackingx_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2024/01/18/1 url
- https://lists.debian.org/debian-lts-announce/2024/01/msg00016.html url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5J4H7CH565ALSZZYKOJFYDA5KFLG6NUK/ url
…and 4 more