cbcvebase.
CVE-2022-46340
published 2022-12-14

CVE-2022-46340: A vulnerability was found in X.Org. This security flaw occurs becuase the swap handler for the XTestFakeInput request of the XTest extension may corrupt the…

PriorityP358high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
2.48%
82.8th percentile
A vulnerability was found in X.Org. This security flaw occurs becuase the swap handler for the XTestFakeInput request of the XTest extension may corrupt the stack if GenericEvents with lengths larger than 32 bytes are sent through a the XTestFakeInput request. This issue can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for ssh X forwarding sessions. This issue does not affect systems where client and server use the same byte order.

Affected

13 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debianxorg-server< xorg-server 2:21.1.5-1 (bookworm)xorg-server 2:21.1.5-1 (bookworm)
debianxwayland< xorg-server 2:21.1.5-1 (bookworm)xorg-server 2:21.1.5-1 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
x.orgx_server
x.orgxorg-server>= 0 < 2:1.20.11-1+deb11u42:1.20.11-1+deb11u4
x.orgxorg-server>= 0 < 2:21.1.5-12:21.1.5-1
x.orgxorg-server>= 0 < 2:21.1.5-12:21.1.5-1
x.orgxorg-server>= 0 < 2:21.1.5-12:21.1.5-1
x.orgxwayland>= 0 < 2:22.1.6-12:22.1.6-1
x.orgxwayland>= 0 < 2:22.1.6-12:22.1.6-1
x.orgxwayland>= 0 < 2:22.1.6-12:22.1.6-1

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv8.8HIGH
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.