CVE-2023-5367: Xorg-x11-server: out-of-bounds write in xichangedeviceproperty/rrchangeoutputproperty
A out-of-bounds write flaw was found in the xorg-x11-server. This issue occurs due to an incorrect calculation of a buffer offset when copying data stored in the heap in the XIChangeDeviceProperty function in Xi/xiproperty.c and in RRChangeOutputProperty function in randr/rrproperty.c, allowing for possible escalation of privileges or denial of service.
Other sources
An invalid offset calculation in the XIChangeDeviceProperty/RRChangeOutputProperty may result in an out-of-bounds memory write.
Reference: https://lists.x.org/archives/xorg-announce/2023-October/003430.html
— Red Hat
X.Org X Server could allow a local authenticated attacker to execute arbitrary code on the system, caused by an out-of-bounds write flaw in XIChangeDeviceProperty/RRChangeOutputProperty. By sending a specially crafted request, an attacker could exploit this vulnerability to execute arbitrary code on the system.
— IBM
Affected Software
Remediation
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2023-5367?
The severity of CVE-2023-5367 is high (7.8).
How does CVE-2023-5367 affect xorg-x11-server?
CVE-2023-5367 affects xorg-x11-server versions 2:1.15.1-0ubuntu2.11+ or later.
How does CVE-2023-5367 affect xwayland?
CVE-2023-5367 affects xwayland versions 2:23.2.2 or earlier.
What is the remedy for CVE-2023-5367 on Ubuntu?
The remedy for CVE-2023-5367 on Ubuntu is to update xorg-server to version 2:1.15.1-0ubuntu2.11+ or later.
What is the remedy for CVE-2023-5367 on Debian?
The remedy for CVE-2023-5367 on Debian is to update xorg-server to version 2:1.20.4-1+deb10u10, 2:1.20.11-1+deb11u8, or 2:21.1.7-3+deb12u2.