{"id":"CVE-2022-49737","state":"PUBLISHED","title":"In X.Org X server 20.11 through 21.1.16, when a client application uses easystroke for mouse gestures, the main thread modifies various data structures used by the input thread wit","description":"In X.Org X server 20.11 through 21.1.16, when a client application uses easystroke for mouse gestures, the main thread modifies various data structures used by the input thread without acquiring a lock, aka a race condition. In particular, AttachDevice in dix/devices.c does not acquire an input lock.","publishedAt":"2025-03-16T00:00:00.000Z","updatedAt":"2025-03-17T16:07:13.541Z","severity":{"score":7.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","source":"mitre"},"assigner":"mitre","products":["X.org X server"],"affected":[{"vendor":"X.org","product":"X server","defaultStatus":"unknown","versions":[{"version":"20.11","status":"affected","lessThanOrEqual":"21.1.16","versionType":"custom"}]}],"references":["https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081338","https://gitlab.freedesktop.org/xorg/xserver/-/issues/1260","https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1081338;filename=dix-Hold-input-lock-for-AttachDevice.patch;msg=5","https://gitlab.freedesktop.org/xorg/xserver/-/commit/dc7cb45482cea6ccec22d117ca0b489500b4d0a0"],"weaknesses":["CWE-413"],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/49xxx/CVE-2022-49737.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-49737","state":"PUBLISHED","datePublished":"2025-03-16T00:00:00.000Z","dateUpdated":"2025-03-17T16:07:13.541Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2025-03-16T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"In X.Org X server 20.11 through 21.1.16, when a client application uses easystroke for mouse gestures, the main thread modifies various data structures used by the input thread without acquiring a lock, aka a race condition. In particular, AttachDevice in dix/devices.c does not acquire an input lock."}],"affected":[{"vendor":"X.org","product":"X server","defaultStatus":"unknown","versions":[{"version":"20.11","status":"affected","lessThanOrEqual":"21.1.16","versionType":"custom"}]}],"references":[{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081338"},{"url":"https://gitlab.freedesktop.org/xorg/xserver/-/issues/1260"},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1081338;filename=dix-Hold-input-lock-for-AttachDevice.patch;msg=5"},{"url":"https://gitlab.freedesktop.org/xorg/xserver/-/commit/dc7cb45482cea6ccec22d117ca0b489500b4d0a0"}],"metrics":[{"cvssV3_1":{"version":"3.1","baseScore":7.7,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-413","description":"CWE-413 Improper Resource Locking","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2025-03-16T00:56:33.955Z"},"x_generator":{"engine":"enrichogram 0.0.1"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:x.org:x_server:*:*:*:*:*:*:*:*","versionStartIncluding":"20.11","versionEndIncluding":"21.1.16"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081338","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-17T16:07:10.290860Z","id":"CVE-2022-49737","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-17T16:07:13.541Z"}}]}}}