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 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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | xwayland | Fix pending | UBUNTU-CVE-2022-49737 | |
| Ubuntu 26.04 | xorg | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | xorg-server | Fixed | 2:21.1.18-1ubuntu1 | UBUNTU-CVE-2022-49737 |
| Ubuntu 26.04 | xwayland | Under investigation | UBUNTU-CVE-2022-49737 | |
| Ubuntu 25.10 | xorg | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | xorg-server | Fixed | 2:21.1.18-1ubuntu1 | UBUNTU-CVE-2022-49737 |
| Ubuntu 25.10 | xwayland | Will not fix xorg server is actually the xorg-server package the xorg package only contains docs xwayland package contains parts of xorg-server Upstream X.org developers… | UBUNTU-CVE-2022-49737 | |
| Ubuntu 24.04 | xorg | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | xorg-server | Under investigation | UBUNTU-CVE-2022-49737 | |
| Ubuntu 24.04 | xwayland | Under investigation | UBUNTU-CVE-2022-49737 | |
| Ubuntu 22.04 | xorg | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | xorg-server | Under investigation | UBUNTU-CVE-2022-49737 | |
| Ubuntu 22.04 | xwayland | Under investigation | UBUNTU-CVE-2022-49737 | |
| Ubuntu 20.04 | xorg | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | xorg-server | Fix pending | UBUNTU-CVE-2022-49737 | |
| Ubuntu 18.04 | xorg-server | Fix pending | UBUNTU-CVE-2022-49737 | |
| Ubuntu 18.04 | xorg-server-hwe-18.04 | Fix pending | UBUNTU-CVE-2022-49737 | |
| Ubuntu 16.04 | xorg-server | Fix pending | UBUNTU-CVE-2022-49737 | |
| Ubuntu 16.04 | xorg-server-hwe-16.04 | Fix pending | UBUNTU-CVE-2022-49737 | |
| Ubuntu 14.04 | xorg-server | Fix pending | UBUNTU-CVE-2022-49737 | |
| Debian 14 | xorg-server | Fixed | 2:21.1.16-1.1 | DEBIAN-CVE-2022-49737 |
| Debian 13 | xorg-server | Fixed | 2:21.1.16-1.1 | DEBIAN-CVE-2022-49737 |
| Debian 12 | xorg-server | Fixed | 2:21.1.7-3+deb12u13 | DEBIAN-CVE-2022-49737 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- X.org X server: affected: 20.11 to 21.1.16
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.