CVE catalog

CVE-2022-2320

xwayland: CVE-2022-2320

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.63% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianxwaylandsid2:24.1.14-1fixed
Debianxwaylandforky2:24.1.14-1fixed
Debianxwaylandtrixie2:24.1.6-1fixed
Debianxwaylandbookworm2:22.1.9-1fixed
Debianxorg-serversid2:21.1.25-2fixed
Debianxorg-serverforky2:21.1.25-2fixed
Debianxorg-servertrixie2:21.1.16-1.3+deb13u3fixed
Debianxorg-servertrixie-security2:21.1.16-1.3+deb13u4fixed
Debianxorg-serverbookworm2:21.1.7-3+deb12u12fixed
Debianxorg-serverbookworm-security2:21.1.7-3+deb12u13fixed
Ubuntuxorg-serverpro2:1.17.2-1ubuntu9vulnerable
Ubuntuxorg-serverpro2:1.17.2-1ubuntu10vulnerable
Ubuntuxorg-serverpro2:1.17.3-2ubuntu1vulnerable
Ubuntuxorg-serverpro2:1.17.3-2ubuntu2vulnerable
Ubuntuxorg-serverpro2:1.17.3-2ubuntu3vulnerable
Ubuntuxorg-serverpro2:1.17.3-2ubuntu4vulnerable
Ubuntuxorg-serverpro2:1.18.1-1ubuntu3vulnerable
Ubuntuxorg-serverpro2:1.18.1-1ubuntu4vulnerable
Ubuntuxorg-serverpro2:1.18.3-1ubuntu1vulnerable
Ubuntuxorg-serverpro2:1.18.3-1ubuntu2vulnerable
Ubuntuxorg-serverpro2:1.18.3-1ubuntu2.2vulnerable
Ubuntuxorg-serverpro2:1.18.3-1ubuntu2.3vulnerable
Ubuntuxorg-serverpro2:1.18.4-0ubuntu0.1vulnerable
Ubuntuxorg-serverpro2:1.18.4-0ubuntu0.2vulnerable
Ubuntuxorg-serverpro2:1.18.4-0ubuntu0.3vulnerable
Ubuntuxorg-serverpro2:1.18.4-0ubuntu0.4vulnerable
Ubuntuxorg-serverpro2:1.18.4-0ubuntu0.6vulnerable
Ubuntuxorg-serverpro2:1.18.4-0ubuntu0.7vulnerable
Ubuntuxorg-serverpro2:1.18.4-0ubuntu0.8vulnerable
Ubuntuxorg-serverpro2:1.18.4-0ubuntu0.9vulnerable
Ubuntuxorg-serverpro2:1.18.4-0ubuntu0.10vulnerable
Ubuntuxorg-serverpro2:1.18.4-0ubuntu0.11vulnerable
Ubuntuxorg-serverpro2:1.18.4-0ubuntu0.12vulnerable
Ubuntuxorg-serverpro2:1.18.4-0ubuntu0.12+esm1vulnerable
Ubuntuxorg-serverpro2:1.18.4-0ubuntu0.12+esm2fixed
Ubuntuxorg-server-hwe-16.04pro2:1.18.4-1ubuntu6.1~16.04.1vulnerable
Ubuntuxorg-server-hwe-16.04pro2:1.18.4-1ubuntu6.1~16.04.2vulnerable
Ubuntuxorg-server-hwe-16.04pro2:1.19.3-1ubuntu1~16.04.2vulnerable
Ubuntuxorg-server-hwe-16.04pro2:1.19.3-1ubuntu1~16.04.3vulnerable
Ubuntuxorg-server-hwe-16.04pro2:1.19.3-1ubuntu1~16.04.4vulnerable
Ubuntuxorg-server-hwe-16.04pro2:1.19.5-0ubuntu2~16.04.1vulnerable
Ubuntuxorg-server-hwe-16.04pro2:1.19.6-1ubuntu4~16.04.1vulnerable
Ubuntuxorg-server-hwe-16.04pro2:1.19.6-1ubuntu4.1~16.04.1vulnerable
Ubuntuxorg-server-hwe-16.04pro2:1.19.6-1ubuntu4.1~16.04.2vulnerable
Ubuntuxorg-server-hwe-16.04pro2:1.19.6-1ubuntu4.1~16.04.3vulnerable
Ubuntuxorg-server-hwe-16.04pro2:1.19.6-1ubuntu4.1~16.04.4vulnerable
Ubuntuxorg-server-hwe-16.04pro2:1.19.6-1ubuntu4.1~16.04.5vulnerable
Ubuntuxorg-server-hwe-16.04pro2:1.19.6-1ubuntu4.1~16.04.6vulnerable
Ubuntuxorg-server-hwe-16.04pro2:1.19.6-1ubuntu4.1~16.04.6+esm1fixed
Ubuntuxorg-server18.042:1.19.5-0ubuntu2vulnerable
Ubuntuxorg-server18.042:1.19.6-1ubuntu1vulnerable
Ubuntuxorg-server18.042:1.19.6-1ubuntu2vulnerable
Ubuntuxorg-server18.042:1.19.6-1ubuntu3vulnerable
Ubuntuxorg-server18.042:1.19.6-1ubuntu4vulnerable
Ubuntuxorg-server18.042:1.19.6-1ubuntu4.1vulnerable
Ubuntuxorg-server18.042:1.19.6-1ubuntu4.2vulnerable
Ubuntuxorg-server18.042:1.19.6-1ubuntu4.3vulnerable
Ubuntuxorg-server18.042:1.19.6-1ubuntu4.4vulnerable
Ubuntuxorg-server18.042:1.19.6-1ubuntu4.5vulnerable
Ubuntuxorg-server18.042:1.19.6-1ubuntu4.6vulnerable
Ubuntuxorg-server18.042:1.19.6-1ubuntu4.7vulnerable
Ubuntuxorg-server18.042:1.19.6-1ubuntu4.8vulnerable
Ubuntuxorg-server18.042:1.19.6-1ubuntu4.9vulnerable
Ubuntuxorg-server18.042:1.19.6-1ubuntu4.10vulnerable
Ubuntuxorg-server18.042:1.19.6-1ubuntu4.11fixed
Ubuntuxorg-server-hwe-18.0418.042:1.20.1-3ubuntu2.1~18.04.1vulnerable
Ubuntuxorg-server-hwe-18.0418.042:1.20.4-1ubuntu3~18.04.1vulnerable
Ubuntuxorg-server-hwe-18.0418.042:1.20.5+git20191008-0ubuntu1~18.04.1vulnerable
Ubuntuxorg-server-hwe-18.0418.042:1.20.8-2ubuntu2.1~18.04.1vulnerable
Ubuntuxorg-server-hwe-18.0418.042:1.20.8-2ubuntu2.2~18.04.1vulnerable
Ubuntuxorg-server-hwe-18.0418.042:1.20.8-2ubuntu2.2~18.04.2vulnerable
Ubuntuxorg-server-hwe-18.0418.042:1.20.8-2ubuntu2.2~18.04.3vulnerable
Ubuntuxorg-server-hwe-18.0418.042:1.20.8-2ubuntu2.2~18.04.4vulnerable
Ubuntuxorg-server-hwe-18.0418.042:1.20.8-2ubuntu2.2~18.04.5vulnerable
Ubuntuxorg-server-hwe-18.0418.042:1.20.8-2ubuntu2.2~18.04.6vulnerable
Ubuntuxorg-server-hwe-18.0418.042:1.20.8-2ubuntu2.2~18.04.7fixed
Ubuntuxorg-server20.042:1.20.5+git20191008-0ubuntu1vulnerable
Ubuntuxorg-server20.042:1.20.6-1ubuntu1vulnerable
Ubuntuxorg-server20.042:1.20.7-2ubuntu1vulnerable
Ubuntuxorg-server20.042:1.20.7-2ubuntu2vulnerable
Ubuntuxorg-server20.042:1.20.8-2ubuntu2vulnerable
Ubuntuxorg-server20.042:1.20.8-2ubuntu2.1vulnerable
Ubuntuxorg-server20.042:1.20.8-2ubuntu2.2vulnerable
Ubuntuxorg-server20.042:1.20.8-2ubuntu2.3vulnerable
Ubuntuxorg-server20.042:1.20.8-2ubuntu2.4vulnerable
Ubuntuxorg-server20.042:1.20.8-2ubuntu2.6vulnerable
Ubuntuxorg-server20.042:1.20.9-2ubuntu1.1~20.04.1vulnerable
Ubuntuxorg-server20.042:1.20.9-2ubuntu1.2~20.04.1vulnerable
Ubuntuxorg-server20.042:1.20.9-2ubuntu1.2~20.04.2vulnerable
Ubuntuxorg-server20.042:1.20.11-1ubuntu1~20.04.2vulnerable
Ubuntuxorg-server20.042:1.20.13-1ubuntu1~20.04.2vulnerable
Ubuntuxorg-server20.042:1.20.13-1ubuntu1~20.04.3fixed
Ubuntuxorg-server22.042:1.20.13-1ubuntu1vulnerable
Ubuntuxorg-server22.042:1.20.13-1ubuntu2vulnerable
Ubuntuxorg-server22.042:1.20.14-1ubuntu1vulnerable
Ubuntuxorg-server22.042:21.1.3-2ubuntu2vulnerable
Ubuntuxorg-server22.042:21.1.3-2ubuntu2.1fixed
Ubuntuxwayland22.042:21.1.2-0ubuntu1vulnerable
Ubuntuxwayland22.042:21.1.3-1vulnerable
Ubuntuxwayland22.042:21.1.3-1ubuntu1vulnerable
Ubuntuxwayland22.042:21.1.4-1vulnerable
Ubuntuxwayland22.042:22.1.0-1vulnerable
Ubuntuxwayland22.042:22.1.1-1vulnerable
Ubuntuxwayland22.042:22.1.1-1ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianxwaylandsourcesid2:22.1.3-1not yet assignedNot reportedNot reported
Debianxwaylandsourceforky2:22.1.3-1not yet assignedNot reportedNot reported
Debianxwaylandsourcetrixie2:22.1.3-1not yet assignedNot reportedNot reported
Debianxwaylandsourcebookworm2:22.1.3-1not yet assignedNot reportedNot reported
Debianxorg-serversourcesid2:21.1.4-1not yet assignedNot reported[1014903]
Debianxorg-serversourceforky2:21.1.4-1not yet assignedNot reported[1014903]
Debianxorg-serversourcetrixie2:21.1.4-1not yet assignedNot reported[1014903]
Debianxorg-serversourcebookworm2:21.1.4-1not yet assignedNot reported[1014903]
Ubuntuxorg-serverdebpro2:1.18.4-0ubuntu0.12+esm2Not reportedUBUNTU-CVE-2022-2320Not reported
Ubuntuxorg-server-hwe-16.04debpro2:1.19.6-1ubuntu4.1~16.04.6+esm1Not reportedUBUNTU-CVE-2022-2320Not reported
Ubuntuxorg-serverdeb18.042:1.19.6-1ubuntu4.11Not reportedUBUNTU-CVE-2022-2320Not reported
Ubuntuxorg-server-hwe-18.04deb18.042:1.20.8-2ubuntu2.2~18.04.7Not reportedUBUNTU-CVE-2022-2320Not reported
Ubuntuxorg-serverdeb20.042:1.20.13-1ubuntu1~20.04.3Not reportedUBUNTU-CVE-2022-2320Not reported
Ubuntuxorg-serverdeb22.042:21.1.3-2ubuntu2.1Not reportedUBUNTU-CVE-2022-2320Not reported
Ubuntuxwaylanddeb22.042:22.1.1-1ubuntu0.1Not reportedUBUNTU-CVE-2022-2320Not reported

[Debian bug #1014903]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [xnest]Unknown

    Source package: [xorg-server]

    Details (4)
    • 2:21.1.7-3+deb12u12 · amd64 · bookworm

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u12 · arm64 · bookworm

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u13 · amd64 · bookworm-security

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u13 · arm64 · bookworm-security

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

  • Source package: [xorg-server]

    Details (4)
    • 2:21.1.7-3+deb12u12 · all · bookworm

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u12 · all · bookworm

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u13 · all · bookworm-security

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u13 · all · bookworm-security

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

  • Source package: [xorg-server]

    Details (4)
    • 2:21.1.7-3+deb12u12 · all · bookworm

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u12 · all · bookworm

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u13 · all · bookworm-security

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u13 · all · bookworm-security

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

  • Source package: [xorg-server]

    Details (4)
    • 2:21.1.7-3+deb12u12 · amd64 · bookworm

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u12 · arm64 · bookworm

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u13 · amd64 · bookworm-security

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u13 · arm64 · bookworm-security

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

  • Source package: [xorg-server]

    Details (4)
    • 2:21.1.7-3+deb12u12 · amd64 · bookworm

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u12 · arm64 · bookworm

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u13 · amd64 · bookworm-security

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u13 · arm64 · bookworm-security

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

  • Source package: [xorg-server]

    Details (4)
    • 2:21.1.7-3+deb12u12 · amd64 · bookworm

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u12 · arm64 · bookworm

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u13 · amd64 · bookworm-security

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u13 · arm64 · bookworm-security

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

  • Source package: [xorg-server]

    Details (4)
    • 2:21.1.7-3+deb12u12 · amd64 · bookworm

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u12 · arm64 · bookworm

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u13 · amd64 · bookworm-security

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u13 · arm64 · bookworm-security

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

  • [xvfb]Unknown

    Source package: [xorg-server]

    Details (4)
    • 2:21.1.7-3+deb12u12 · amd64 · bookworm

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u12 · arm64 · bookworm

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u13 · amd64 · bookworm-security

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

    • 2:21.1.7-3+deb12u13 · arm64 · bookworm-security

      Fixed · Fixed: 2:21.1.4-1

      dsa · xorg-server · debian · bookworm

  • [xwayland]Unknown
    Details (2)
    • 2:22.1.9-1 · amd64 · bookworm

      Fixed · Fixed: 2:22.1.3-1

      dsa · xwayland · debian · bookworm

    • 2:22.1.9-1 · arm64 · bookworm

      Fixed · Fixed: 2:22.1.3-1

      dsa · xwayland · debian · bookworm

Observed:

References