HIGH · 8.8

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 stack if GenericEvents with lengths larger ...

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

CVSS Score

8.8

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
X.OrgX Server1.20.4
RedhatEnterprise Linux6.0
FedoraprojectFedora36
DebianDebian Linux11.0

Related Weaknesses (CWE)

References

FAQ

What is CVE-2022-46340?

CVE-2022-46340 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 ...

How severe is CVE-2022-46340?

CVE-2022-46340 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2022-46340?

Check the references section above for vendor advisories and patch information. Affected products include: X.Org X Server, Redhat Enterprise Linux, Fedoraproject Fedora, Debian Debian Linux.