CVE-2023-5367: Xorg-x11-server: out-of-bounds write in xichangedeviceproperty/rrchangeoutputproperty

Published Oct 10, 2023
·
Updated

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

57 affected componentsFixes available
ubuntu/xorg-server<2:1.15.1-0ubuntu2.11+
2:1.15.1-0ubuntu2.11+
ubuntu/xorg-server<2:1.18.4-0ubuntu0.12+
2:1.18.4-0ubuntu0.12+
ubuntu/xorg-server<2:1.19.6-1ubuntu4.15+
2:1.19.6-1ubuntu4.15+
ubuntu/xorg-server<21.1.9
21.1.9
ubuntu/xorg-server<2:1.20.13-1ubuntu1~20.04.9
2:1.20.13-1ubuntu1~20.04.9
ubuntu/xorg-server<2:21.1.4-2ubuntu1.7~22.04.2
2:21.1.4-2ubuntu1.7~22.04.2
ubuntu/xorg-server<2:21.1.7-1ubuntu3.1
2:21.1.7-1ubuntu3.1
ubuntu/xorg-server<2:21.1.7-3ubuntu2.1
2:21.1.7-3ubuntu2.1
ubuntu/xwayland<23.2.2
23.2.2
ubuntu/xwayland<2:22.1.1-1ubuntu0.7
2:22.1.1-1ubuntu0.7
ubuntu/xwayland<2:22.1.8-1ubuntu1.1
2:22.1.8-1ubuntu1.1
ubuntu/xwayland<2:23.2.0-1ubuntu0.1
2:23.2.0-1ubuntu0.1
IBM Security Guardium<=11.3
IBM Security Guardium<=11.4
IBM Security Guardium<=11.5
IBM Security Guardium<=12.0
redhat/xorg-server<21.1.9
21.1.9
redhat/xwayland<23.2.2
23.2.2
alpine/xorg-server<21.1.9-r0
21.1.9-r0
alpine/xorg-server<21.1.9-r0
21.1.9-r0
alpine/xorg-server<21.1.9-r0
21.1.9-r0
alpine/xorg-server<21.1.9-r0
21.1.9-r0
alpine/xorg-server<21.1.9-r0
21.1.9-r0
alpine/xorg-server<21.1.9-r0
21.1.9-r0
alpine/xorg-server<21.1.9-r0
21.1.9-r0
alpine/xwayland<23.1.2-r1
23.1.2-r1
alpine/xwayland<23.2.2-r0
23.2.2-r0
alpine/xwayland<23.2.2-r0
23.2.2-r0
alpine/xwayland<23.2.2-r0
23.2.2-r0
alpine/xwayland<23.2.2-r0
23.2.2-r0
alpine/xwayland<23.2.2-r0
23.2.2-r0
alpine/xwayland<23.2.2-r0
23.2.2-r0
X.Org X Server<21.1.9
X.Org Xwayland<23.2.2
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux For Ibm Z Systems=7.0_s390x
redhat Enterprise Linux For Power Big Endian=7.0_ppc64
redhat Enterprise Linux For Power Little Endian=7.0_ppc64le
redhat Enterprise Linux For Scientific Computing=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
Fedoraproject Fedora=37
Fedoraproject Fedora=38
Fedoraproject Fedora=39
Debian Debian Linux=11.0
Debian Debian Linux=12.0
debian/xorg-server<2:21.1.7-3+deb12u2
2:21.1.7-3+deb12u2
debian/xorg-server<2:21.1.9-1
2:21.1.9-1
debian/xorg-server<2:21.1.9-1
2:21.1.9-1
debian/xwayland*
debian/xwayland<2:23.2.2-1
2:23.2.2-1
debian/xwayland<2:23.2.2-1
2:23.2.2-1
debian/xorg-server
2:1.20.4-1+deb10u102:1.20.11-1+deb11u82:21.1.7-3+deb12u22:21.1.9-1
debian/xwayland<=2:22.1.9-1
2:23.2.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:1.15.1-0ubuntu2.11+
  2. Upgrade

    Upgrade ubuntu/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:1.18.4-0ubuntu0.12+
  3. Upgrade

    Upgrade ubuntu/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:1.19.6-1ubuntu4.15+
  4. Upgrade

    Upgrade ubuntu/xorg-server to a version that resolves this vulnerability.

    Fixed in 21.1.9
  5. Upgrade

    Upgrade ubuntu/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:1.20.13-1ubuntu1~20.04.9
  6. Upgrade

    Upgrade ubuntu/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:21.1.4-2ubuntu1.7~22.04.2
  7. Upgrade

    Upgrade ubuntu/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:21.1.7-1ubuntu3.1
  8. Upgrade

    Upgrade ubuntu/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:21.1.7-3ubuntu2.1
  9. Upgrade

    Upgrade ubuntu/xwayland to a version that resolves this vulnerability.

    Fixed in 23.2.2
  10. Upgrade

    Upgrade ubuntu/xwayland to a version that resolves this vulnerability.

    Fixed in 2:22.1.1-1ubuntu0.7
  11. Upgrade

    Upgrade ubuntu/xwayland to a version that resolves this vulnerability.

    Fixed in 2:22.1.8-1ubuntu1.1
  12. Upgrade

    Upgrade ubuntu/xwayland to a version that resolves this vulnerability.

    Fixed in 2:23.2.0-1ubuntu0.1
  13. Upgrade

    Upgrade redhat/xorg-server to a version that resolves this vulnerability.

    Fixed in 21.1.9
  14. Upgrade

    Upgrade redhat/xwayland to a version that resolves this vulnerability.

    Fixed in 23.2.2
  15. Upgrade

    Upgrade alpine/xorg-server to a version that resolves this vulnerability.

    Fixed in 21.1.9-r0
  16. Upgrade

    Upgrade alpine/xwayland to a version that resolves this vulnerability.

    Fixed in 23.1.2-r1
  17. Upgrade

    Upgrade alpine/xwayland to a version that resolves this vulnerability.

    Fixed in 23.2.2-r0
  18. Upgrade

    Upgrade debian/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:21.1.7-3+deb12u2
  19. Upgrade

    Upgrade debian/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:21.1.9-1
  20. Upgrade

    Upgrade debian/xwayland to a version that resolves this vulnerability.

    Fixed in 2:23.2.2-1
  21. Upgrade

    Upgrade debian/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:1.20.4-1+deb10u10Fixed in 2:1.20.11-1+deb11u8Fixed in 2:21.1.7-3+deb12u2Fixed in 2:21.1.9-1

Event History

Oct 10, 2023
Data Sourced
04:49 PM
DescriptionSeverityAffected Software
Oct 25, 2023
CVE Published
12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
12:00 AM
Description
CVE Published
via MITRE·07:46 PM
Data Sourced
07:46 PM
Weakness
Data Sourced
via OSV·08:15 PM
DescriptionSeverityAffected Software
Nov 2, 2023
Updated
05:21 PM
Severity
Nov 3, 2023
Updated
11:15 PM
Affected Software
Nov 6, 2023
Updated
03:15 AM
Affected Software
Updated
03:15 AM
Severity
Nov 7, 2023
Updated
04:23 AM
WeaknessAffected Software
Nov 8, 2023
Updated
02:15 PM
Affected Software
Nov 10, 2023
Updated
02:15 AM
Affected Software
Updated
02:15 AM
WeaknessAffected Software
Nov 13, 2023
Updated
03:15 AM
Affected Software
Nov 18, 2023
Updated
03:15 AM
Affected Software
Nov 21, 2023
Updated
05:15 PM
Affected Software
Nov 28, 2023
Updated
06:15 PM
Affected Software
Nov 30, 2023
Updated
10:15 PM
Affected Software
Jan 2, 2024
Updated
03:15 PM
Affected Software
Jan 10, 2024
Data Sourced
via Red Hat·11:27 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·03:15 PM
Affected Software
Jan 23, 2024
Data Sourced
via MITRE·01:21 AM
DescriptionSeverityWeakness
Jan 31, 2024
Updated
via NVD·01:15 PM
Affected Software
Feb 16, 2024
Updated
via NVD·03:33 PM
Affected Software
Apr 30, 2024
Updated
via NVD·02:15 PM
Affected Software
May 10, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
May 22, 2024
Updated
via NVD·05:16 PM
Affected Software
May 24, 2024
Updated
via IBM·12:00 AM
Affected Software
Sep 16, 2024
Updated
via NVD·04:15 PM
Affected Software
Nov 21, 2024
Updated
via NVD·08:41 AM
RemedyAffected Software
Aug 4, 2025
Updated
via NVD·09:15 PM
Affected Software
Jun 23, 2026
Updated
via NVD·06:17 PM
RemedyAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2023-5367?

The severity of CVE-2023-5367 is high (7.8).

2

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.

3

How does CVE-2023-5367 affect xwayland?

CVE-2023-5367 affects xwayland versions 2:23.2.2 or earlier.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203