Vulnerabilities · 2022 · X.org
CVE-2022-2320
X.org X Server vulnerability
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.
Affected products
X Server. The exact versions are in the references.
What to do now
- Check your exposureFind out whether X.org X Server runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/freedesktop/xorg-xserver/commit/dd8caf39e9e15d8f302e54045dd08d8ebf1025dc · Patch
- gitlab.freedesktop.org/xorg/xserver/-/merge_requests/938 · Patch
- gitlab.freedesktop.org/xorg/xserver/-/merge_requests/939 · Patch
- lists.freedesktop.org/archives/xorg-announce/2022-July/003192.html · Patch
- security.gentoo.org/glsa/202210-30 · Third Party Advisory
- security.netapp.com/advisory/ntap-20221104-0003/ · Third Party Advisory
- www.zerodayinitiative.com/advisories/ZDI-22-963/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-2320
- cve.org/CVERecord?id=CVE-2022-2320
More vulnerabilities in X.org products
CVE-2025-26601CVE-2025-26600CVE-2025-26599CVE-2025-26598CVE-2025-26597CVE-2025-26596CVE-2025-26595CVE-2025-26594All 152
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.