Vulnerability · Published Mar 16, 2025 · Assigned by mitre
CVE-2022-49737
High 7.7
In plain English
A high-severity security flaw in X server from X.org. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.7High
Exploit odds (30 days)0.3%top 72.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | xorg-server | 2:21.1.7-3+deb12u13 | DEBIAN-CVE-2022-49737 |
| Debian:13 | xorg-server | 2:21.1.16-1.1 | DEBIAN-CVE-2022-49737 |
| Debian:14 | xorg-server | 2:21.1.16-1.1 | DEBIAN-CVE-2022-49737 |
| Ubuntu:22.04:LTS | xorg-server | no fix listed | UBUNTU-CVE-2022-49737 |
| Ubuntu:24.04:LTS | xorg-server | no fix listed | UBUNTU-CVE-2022-49737 |
| Ubuntu:25.10 | xorg-server | 2:21.1.18-1ubuntu1 | UBUNTU-CVE-2022-49737 |
| Ubuntu:26.04:LTS | xorg-server | 2:21.1.18-1ubuntu1 | UBUNTU-CVE-2022-49737 |
| Ubuntu:22.04:LTS | xwayland | no fix listed | UBUNTU-CVE-2022-49737 |
| Ubuntu:24.04:LTS | xwayland | no fix listed | UBUNTU-CVE-2022-49737 |
| Ubuntu:25.10 | xwayland | no fix listed | UBUNTU-CVE-2022-49737 |
| Ubuntu:26.04:LTS | xwayland | no fix listed | UBUNTU-CVE-2022-49737 |
| Ubuntu:26.10 | xwayland | no fix listed | UBUNTU-CVE-2022-49737 |
Affected products (as reported)
Weakness: CWE-413 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H
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