# CVE-2022-2320: A flaw was found in the Xorg-x11-server.

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2022-09-01T00:00:00.000Z
- Modified: 2026-06-17T04:41:41.470Z
- Weaknesses: CWE-787
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- xorg-x11-server: xorg-x11-server 21.1
- x.org x_server: 21.1.0

## References

- <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/938> (patch, third-party-advisory)
- <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/939> (patch, third-party-advisory)
- <https://github.com/freedesktop/xorg-xserver/commit/dd8caf39e9e15d8f302e54045dd08d8ebf1025dc> (patch, third-party-advisory)
- <https://www.zerodayinitiative.com/advisories/ZDI-22-963/> (third-party-advisory, vdb-entry)
- <https://lists.freedesktop.org/archives/xorg-announce/2022-July/003192.html> (patch, third-party-advisory)
- <https://security.gentoo.org/glsa/202210-30> (third-party-advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20221104-0003/> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-2320](https://www.cve.org/CVERecord?id=CVE-2022-2320), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-2320](https://nvd.nist.gov/vuln/detail/CVE-2022-2320), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-2320 · Whole record: https://cve.day/CVE-2022-2320.json · Rebuilt by cve.day 2026-11-25T22:58:14.611Z
