cve.bz

CVE-2022-2320 x.org x server: Out-of-bounds Write

7.8 highEPSS 0.6%Fix available

High (7.8) in x.org x server. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 51st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-2320 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-2320?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-2320?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-2320 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
x.org:x_server21.1.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10xorg-server2:1.20.4-1+deb10u5DLA-3068-1
Debian11xorg-server2:1.20.11-1+deb11u2DSA-5199-1
Debian12, 13, 14xorg-server2:21.1.4-1DEBIAN-CVE-2022-2320
Debian12, 13, 14xwayland2:22.1.3-1DEBIAN-CVE-2022-2320
Ubuntu18.04:LTSxorg-server2:1.19.6-1ubuntu4.11UBUNTU-CVE-2022-2320 USN-5510-1
Ubuntu18.04:LTSxorg-server-hwe-18.042:1.20.8-2ubuntu2.2~18.04.7UBUNTU-CVE-2022-2320 USN-5510-1
Ubuntu20.04:LTSxorg-server2:1.20.13-1ubuntu1~20.04.3UBUNTU-CVE-2022-2320 USN-5510-1
Ubuntu22.04:LTSxorg-server2:21.1.3-2ubuntu2.1UBUNTU-CVE-2022-2320 USN-5510-1
Ubuntu22.04:LTSxwayland2:22.1.1-1ubuntu0.1UBUNTU-CVE-2022-2320 USN-5510-1
UbuntuPro:14.04:LTSxorg-serverno fix listedUBUNTU-CVE-2022-2320
UbuntuPro:16.04:LTSxorg-server2:1.18.4-0ubuntu0.12+esm2UBUNTU-CVE-2022-2320 USN-5510-2
UbuntuPro:16.04:LTSxorg-server-hwe-16.042:1.19.6-1ubuntu4.1~16.04.6+esm1UBUNTU-CVE-2022-2320 USN-5510-2
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morexorg-x11-server, xorg-x11-server-Xdmx, xorg-x11-server-Xorg and 8 more0:1.20.4-18.el7_9RHSA-2022:5905
Red Hatenterprise_linux:8::appstreamxorg-x11-server, xorg-x11-server-Xdmx, xorg-x11-server-Xorg and 11 more0:1.20.11-9.el8RHSA-2022:7583
Red Hatenterprise_linux:8::appstreamxorg-x11-server-Xwayland, xorg-x11-server-Xwayland-debuginfo, xorg-x11-server-Xwayland-debugsource0:21.1.3-6.el8RHSA-2022:7583
Red Hatenterprise_linux:8::crbxorg-x11-server-devel, xorg-x11-server-source, xorg-x11-server-debuginfo and 6 more0:1.20.11-9.el8RHSA-2022:7583
Red Hatenterprise_linux:9::appstreamxorg-x11-server, xorg-x11-server-Xdmx, xorg-x11-server-Xorg and 11 more0:1.20.11-11.el9RHSA-2022:8221
Red Hatenterprise_linux:9::appstreamxorg-x11-server-Xwayland, xorg-x11-server-Xwayland-debuginfo, xorg-x11-server-Xwayland-debugsource0:21.1.3-3.el9RHSA-2022:8222
Red Hatenterprise_linux:9::crbxorg-x11-server-devel, xorg-x11-server-source, xorg-x11-server-debuginfo and 6 more0:1.20.11-11.el9RHSA-2022:8221
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 3 morexorg-x11-server1.20.3-150100.14.5.25.1SUSE-SU-2022:2374-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 10 morexorg-x11-server1.20.3-150200.22.5.55.1SUSE-SU-2022:2375-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 morexorg-x11-server1.19.6-150000.8.39.1SUSE-SU-2022:2371-1
SUSELinux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Development Tools 15 SP4xorg-x11-server1.20.3-150400.38.5.1SUSE-SU-2022:2370-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCLxorg-x11-server7.6_1.18.3-76.49.1SUSE-SU-2022:2372-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server for SAP Applications 12 SP4, OpenStack Cloud 9 and 1 morexorg-x11-server1.19.6-4.31.1SUSE-SU-2022:2369-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5xorg-x11-server1.19.6-10.32.1SUSE-SU-2022:2373-1
openSUSELeap 15.3, Leap 15.4xorg-x11-server1.20.3-150200.22.5.55.1SUSE-SU-2022:2375-1
openSUSELeap 15.4xorg-x11-server1.20.3-150400.38.5.1SUSE-SU-2022:2370-1
openSUSETumbleweedxorg-x11-server21.1.3-8.1openSUSE-SU-2024:12187-1
AlmaLinux8xorg-x11-server-Xdmx, xorg-x11-server-Xorg, xorg-x11-server-Xvfb and 5 more1.20.11-9.el8ALSA-2022:7583
AlmaLinux8xorg-x11-server-Xwayland21.1.3-6.el8ALSA-2022:7583
AlmaLinux9xorg-x11-server-Xdmx, xorg-x11-server-Xorg, xorg-x11-server-Xvfb and 5 more1.20.11-11.el9ALSA-2022:8221
AlmaLinux9xorg-x11-server-Xwayland21.1.3-3.el9ALSA-2022:8222
Rocky Linux8xorg-x11-server0:1.20.11-9.el8RLSA-2022:7583
Rocky Linux8xorg-x11-server-Xwayland0:21.1.3-6.el8RLSA-2022:7583
Rocky Linux8xorg-x11-xtrans-devel0:1.4.0-4.el8RLSA-2022:7583
Rocky Linux9xorg-x11-server0:1.20.11-11.el9RLSA-2022:8221
Rocky Linux9xorg-x11-server-Xwayland0:21.1.3-3.el9RLSA-2022:8222
Alpinev3.16xorg-server21.1.3-r1ALPINE-CVE-2022-2320
Alpinev3.17, v3.18, v3.19 and 5 morexorg-server21.1.4-r0ALPINE-CVE-2022-2320
Azure Linux3xorg-x11-serverno fix listedAZL-44841

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Xorg server does not run with root privileges in Red Hat Enterprise Linux 8, therefore this flaw has been rated as having Moderate impact.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7xorg-x11-server-0:1.20.4-18.el7_9Fixed 2022-08-04RHSA-2022:5905
Red Hat Enterprise Linux 8xorg-x11-server-0:1.20.11-9.el8Fixed 2022-11-08RHSA-2022:7583
Red Hat Enterprise Linux 8xorg-x11-server-Xwayland-0:21.1.3-6.el8Fixed 2022-11-08RHSA-2022:7583
Red Hat Enterprise Linux 9xorg-x11-server-0:1.20.11-11.el9Fixed 2022-11-15RHSA-2022:8221
Red Hat Enterprise Linux 9xorg-x11-server-Xwayland-0:21.1.3-3.el9Fixed 2022-11-15RHSA-2022:8222
Red Hat Enterprise Linux 6xorg-x11-serverOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-2320.

References

Check your stackJSON