Buffer overflow in X.org X Server

CVE-2023-6816

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.

Vulnerability class: Buffer Overflow

EPSS: 0.021 (80.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-6816?
CVE-2023-6816 is a critical-severity vulnerability in X.org X Server, classified under Out-of-bounds Write. CVSS score: 9.8/10. Published 2024-01-18.
How severe is CVE-2023-6816?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2023-6816 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.