CVE-2023-6478: Xorg-x11-server: out-of-bounds memory read in rrchangeoutputproperty and rrchangeproviderproperty

Published Dec 6, 2023
·
Updated

A flaw was found in xorg-server. A specially crafted request to RRChangeProviderProperty or RRChangeOutputProperty can trigger an integer overflow which may lead to a disclosure of sensitive information.

Other sources

CVE-2023-6478: X.Org server: Out-of-bounds memory read in RRChangeOutputProperty and RRChangeProviderProperty

Introduced in: xorg-server-1.4.0 (2007) and xorg-server-1.13.0 (2012), respectively Fixed in: xorg-server-21.1.10 and xwayland-23.2.3 Found by: Jan-Niklas Sohn working with Trend Micro Zero Day Initiative

This fixes an OOB read and the resulting information disclosure.

Length calculation for the request was clipped to a 32-bit integer. With the correct stuff->nUnits value the expected request size was truncated, passing the REQUESTFIXEDSIZE check.

The server then proceeded with reading at least stuff->nUnits bytes (depending on stuff->format) from the request and stuffing whatever it finds into the property. In the process it would also allocate at least stuff->nUnits bytes, i.e. 4GB.

See also CVE-2022-46344 where this issue was fixed for other requests.

xorg-server-21.1.10 and xwayland-23.2.3 have been patched to fix this issue.

— Red Hat

Affected Software

43 affected componentsFixes available
redhat/xorg-server<21.1.10
21.1.10
redhat/xwayland<23.2.3
23.2.3
alpine/xorg-server<21.1.10-r0
21.1.10-r0
alpine/xorg-server<21.1.10-r0
21.1.10-r0
alpine/xorg-server<21.1.10-r0
21.1.10-r0
alpine/xorg-server<21.1.10-r0
21.1.10-r0
alpine/xorg-server<21.1.10-r0
21.1.10-r0
alpine/xorg-server<21.1.10-r0
21.1.10-r0
alpine/xorg-server<21.1.10-r0
21.1.10-r0
All of the following
X.Org X Server<21.1.10
Any of the following
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
All of the following
X.Org Xwayland<23.2.3
Any of the following
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux Eus=9.2
Debian Debian Linux=10.0
Debian Debian Linux=11.0
Debian Debian Linux=12.0
All of the following
TigerVNC TigerVNC
Any of the following
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
debian/xorg-server<2:21.1.7-3+deb12u3
2:21.1.7-3+deb12u3
debian/xorg-server<2:21.1.10-1
2:21.1.10-1
debian/xorg-server<2:21.1.10-1
2:21.1.10-1
debian/xwayland*
debian/xwayland<2:23.2.3-1
2:23.2.3-1
debian/xwayland<2:23.2.3-1
2:23.2.3-1
debian/xorg-server
2:1.20.4-1+deb10u112:1.20.11-1+deb11u92:21.1.7-3+deb12u32:21.1.10-1
debian/xwayland<=2:22.1.9-1
2:23.2.3-1
ubuntu/xorg-server<2:1.15.1-0ubuntu2.11+esm9
2:1.15.1-0ubuntu2.11+esm9
ubuntu/xorg-server<2:1.18.4-0ubuntu0.12+esm8
2:1.18.4-0ubuntu0.12+esm8
ubuntu/xorg-server-hwe-16.04*
ubuntu/xorg-server<2:1.19.6-1ubuntu4.15+esm3
2:1.19.6-1ubuntu4.15+esm3
ubuntu/xorg-server-hwe-18.04*
ubuntu/xorg-server<2:1.20.13-1ubuntu1~20.04.12
2:1.20.13-1ubuntu1~20.04.12
ubuntu/xorg-server<2:21.1.4-2ubuntu1.7~22.04.5
2:21.1.4-2ubuntu1.7~22.04.5
ubuntu/xwayland<2:22.1.1-1ubuntu0.9
2:22.1.1-1ubuntu0.9
ubuntu/xorg-server<2:21.1.10-1ubuntu1
2:21.1.10-1ubuntu1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 21.1.10
  2. Upgrade

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

    Fixed in 23.2.3
  3. Upgrade

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

    Fixed in 21.1.10-r0
  4. Upgrade

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

    Fixed in 2:21.1.7-3+deb12u3
  5. Upgrade

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

    Fixed in 2:21.1.10-1
  6. Upgrade

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

    Fixed in 2:23.2.3-1
  7. Upgrade

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

    Fixed in 2:1.20.4-1+deb10u11Fixed in 2:1.20.11-1+deb11u9Fixed in 2:21.1.7-3+deb12u3Fixed in 2:21.1.10-1
  8. Upgrade

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

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

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

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

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

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

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

    Fixed in 2:1.20.13-1ubuntu1~20.04.12
  12. Upgrade

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

    Fixed in 2:21.1.4-2ubuntu1.7~22.04.5
  13. Upgrade

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

    Fixed in 2:22.1.1-1ubuntu0.9
  14. Upgrade

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

    Fixed in 2:21.1.10-1ubuntu1
  15. Upgrade

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

    Fixed in 21.1.10
  16. Upgrade

    Upgrade xwayland to a version that resolves this vulnerability.

    Fixed in 23.2.3

Event History

Dec 6, 2023
Data Sourced
05:37 PM
DescriptionSeverityAffected Software
Dec 13, 2023
CVE Published
12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Updated
12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
Description
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
CVE Published
via MITRE·06:27 AM
Data Sourced
06:27 AM
Weakness
Dec 21, 2023
Updated
05:21 PM
SeverityWeakness
Dec 25, 2023
Updated
04:15 AM
Affected Software
Updated
04:15 AM
SeverityWeakness
Dec 29, 2023
Updated
05:01 AM
Weakness
Updated
05:15 AM
WeaknessAffected Software
Jan 2, 2024
Data Sourced
via Red Hat·08:55 AM
DescriptionSeverityAffected Software
Updated
03:15 PM
Affected Software
Jan 11, 2024
Data Sourced
via NVD·04:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·04:15 AM
Affected Software
Jan 23, 2024
Data Sourced
via MITRE·02:04 AM
DescriptionSeverityWeakness
Jan 25, 2024
Updated
via NVD·02:15 PM
Affected Software
Jan 31, 2024
Updated
via NVD·01:15 PM
Affected Software
Apr 30, 2024
Updated
via NVD·02:15 PM
Affected Software
May 22, 2024
Updated
via NVD·05:16 PM
Affected Software
Sep 16, 2024
Updated
via NVD·04:15 PM
Affected Software
Nov 21, 2024
Updated
via NVD·08:43 AM
RemedyAffected Software
Aug 4, 2025
Updated
via NVD·09:15 PM
RemedyAffected Software
Jun 23, 2026
Updated
via NVD·06:17 PM
Affected Software
Nov 5, 2026
Data Sourced
via OSV·03:28 AM
Weakness

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-6478?

CVE-2023-6478 is classified as a medium-severity vulnerability due to the potential for sensitive information disclosure.

2

How do I fix CVE-2023-6478?

To fix CVE-2023-6478, update to the appropriate patched versions of xorg-server or xwayland as specified in the vendor advisories.

3

Which versions of xorg-server are affected by CVE-2023-6478?

Versions of xorg-server up to 21.1.10 are affected by CVE-2023-6478.

4

What is the nature of the vulnerability in CVE-2023-6478?

CVE-2023-6478 involves an integer overflow that can lead to an out-of-bounds memory read, potentially disclosing sensitive information.

5

Are there specific distributions impacted by CVE-2023-6478?

Yes, CVE-2023-6478 impacts several distributions including specific versions of Red Hat Enterprise Linux and Debian.

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