{"schemaVersion":3,"id":"CVE-2022-2320","aliases":["UBUNTU-CVE-2022-2320","DEBIAN-CVE-2022-2320"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-09-01T00:00:00.000Z","modified":"2024-08-03T00:32:09.611Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00626,"percentile":0.49014,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00626},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00626,"percentile":0.49014}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00626,"percentile":0.49014}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"xorg-server","name":"xorg-server","label":"xorg-server","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/xorg-server","purlType":"deb","versions":[{"text":"< 2:21.1.4-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:21.1.4-1","eol":null,"hubHref":null},{"vendor":"debian","product":"xwayland","name":"xwayland","label":"xwayland","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/xwayland","purlType":"deb","versions":[{"text":"< 2:22.1.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:22.1.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"xorg-server","name":"xorg-server","label":"xorg-server","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/xorg-server","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2:1.18.4-0ubuntu0.12+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 2:1.19.6-1ubuntu4.11","noFixRecorded":false,"fixedIn":null},{"text":"< 2:1.20.13-1ubuntu1~20.04.3","noFixRecorded":false,"fixedIn":null},{"text":"< 2:21.1.3-2ubuntu2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2:1.18.4-0ubuntu0.12+esm2 | < 2:1.19.6-1ubuntu4.11 | < 2:1.20.13-1ubuntu1~20.04.3 | < 2:21.1.3-2ubuntu2.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"xorg-server-hwe-16.04","name":"xorg-server-hwe-16.04","label":"xorg-server-hwe-16.04","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/xorg-server-hwe-16.04","purlType":"deb","versions":[{"text":"< 2:1.19.6-1ubuntu4.1~16.04.6+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:1.19.6-1ubuntu4.1~16.04.6+esm1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"xorg-server-hwe-18.04","name":"xorg-server-hwe-18.04","label":"xorg-server-hwe-18.04","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/xorg-server-hwe-18.04","purlType":"deb","versions":[{"text":"< 2:1.20.8-2ubuntu2.2~18.04.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:1.20.8-2ubuntu2.2~18.04.7","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"xwayland","name":"xwayland","label":"xwayland","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/xwayland","purlType":"deb","versions":[{"text":"< 2:22.1.1-1ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:22.1.1-1ubuntu0.1","eol":null,"hubHref":null},{"vendor":"x.org","product":"x_server","name":"x server","label":"x_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"21.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"21.1.0","eol":null,"hubHref":"/vendor/xorg/x_server"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/938","label":"gitlab.freedesktop.org/xorg/xserver/-/merge_requests/938","hostname":"gitlab.freedesktop.org","tags":["Patch","Third Party Advisory"]},{"url":"https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/939","label":"gitlab.freedesktop.org/xorg/xserver/-/merge_requests/939","hostname":"gitlab.freedesktop.org","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/freedesktop/xorg-xserver/commit/dd8caf39e9e15d8f302e54045dd08d8ebf1025dc","label":"github.com/freedesktop/xorg-xserver/commit/dd8caf39e9e15d8f302e54045dd08d8ebf1025dc","hostname":"github.com","tags":["Patch","Third Party Advisory"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-22-963/","label":"www.zerodayinitiative.com/advisories/ZDI-22-963/","hostname":"www.zerodayinitiative.com","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://lists.freedesktop.org/archives/xorg-announce/2022-July/003192.html","label":"lists.freedesktop.org/archives/xorg-announce/2022-July/003192.html","hostname":"lists.freedesktop.org","tags":["Patch","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202210-30","label":"security.gentoo.org/glsa/202210-30","hostname":"security.gentoo.org","tags":["Vendor Advisory","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20221104-0003/","label":"security.netapp.com/advisory/ntap-20221104-0003/","hostname":"security.netapp.com","tags":["Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-2320","label":"ubuntu.com/security/CVE-2022-2320","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2022/07/12/1","label":"www.openwall.com/lists/oss-security/2022/07/12/1","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5510-1","label":"ubuntu.com/security/notices/USN-5510-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-5510-2","label":"ubuntu.com/security/notices/USN-5510-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2320","label":"www.cve.org/CVERecord?id=CVE-2022-2320","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-2320","label":"security-tracker.debian.org/tracker/CVE-2022-2320","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3068-1","DSA-5199-1","MGASA-2022-0256","OPENSUSE-SU-2024:12187-1","RHSA-2022:5905","RHSA-2022:7583","RHSA-2022:8221","RHSA-2022:8222","SUSE-SU-2022:2369-1","SUSE-SU-2022:2370-1","SUSE-SU-2022:2371-1","SUSE-SU-2022:2372-1","SUSE-SU-2022:2373-1","SUSE-SU-2022:2374-1","SUSE-SU-2022:2375-1","USN-5510-1","USN-5510-2"],"duplicates":[],"related":["OPENSUSE-SU-2024:12187-1","SUSE-SU-2022:2369-1","SUSE-SU-2022:2370-1","SUSE-SU-2022:2371-1","SUSE-SU-2022:2372-1","SUSE-SU-2022:2373-1","SUSE-SU-2022:2374-1","SUSE-SU-2022:2375-1","USN-5510-1","USN-5510-2"]},"timeline":[{"kind":"published","date":"2022-09-01T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T00:32:09.611Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:26:28.991Z","stale":false,"partial":false}}