# CVE-2022-49737: 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 dat…

- Severity: High 7.7 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/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.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-16T00:00:00.000Z
- Modified: 2026-06-17T05:19:00.140Z
- Weaknesses: CWE-413
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- X.org X server: from 20.11 up to 21.1.16

## References

- <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081338> (exploit)
- <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>

## Sources

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

---

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