CVE-2022-46340

HIGH

X.Org X Server - Out-of-bounds Write in XTest Extension via GenericEvents

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 8.8
EPSS 0.0124
EPSS Percentile 79.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-787
Status published
Products (4)
debian/debian_linux 11.0
fedoraproject/fedora 36
fedoraproject/fedora 37
x.org/x_server 1.20.4
Published Dec 14, 2022
Tracked Since Feb 18, 2026