CVE-2022-2320: X.Org Server ProcXkbSetDeviceInfo Out-Of-Bounds Access Local Privilege Escalation Vulnerability

Published Sep 1, 2022
·
Updated

A flaw was found in the Xorg-x11-server. The specific flaw exists within the handling of ProcXkbSetDeviceInfo requests. The issue results from the lack of proper validation of user-supplied data, which can result in a memory access past the end of an allocated buffer. This flaw allows an attacker to escalate privileges and execute arbitrary code in the context of root.

Other sources

This vulnerability allows local attackers to escalate privileges on affected installations of X.Org Server. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the handling of ProcXkbSetDeviceInfo requests. The issue results from the lack of proper validation of user-supplied data, which can result in a memory access past the end of an allocated buffer. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of root.

Affected Software

3 affected components
X.Org Server
X.Org xorg-server=21.1.0
X.Org X Server=21.1.0

Event History

Sep 1, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 26, 2025
Advisory Published
via ZDI·07:39 PM

Frequently Asked Questions

1

What is CVE-2022-2320?

CVE-2022-2320 is a vulnerability that allows local attackers to escalate privileges on affected installations of X.Org Server.

2

How can the CVE-2022-2320 vulnerability be exploited?

An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

3

What is the severity of CVE-2022-2320?

The severity of CVE-2022-2320 is high with a CVSS score of 7.8.

4

Which software is affected by CVE-2022-2320?

X.Org Server version 21.1.0 is affected by CVE-2022-2320.

5

How do I fix the CVE-2022-2320 vulnerability?

To fix the CVE-2022-2320 vulnerability, it is recommended to update to a patched version of X.Org Server.

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