CVE-2022-46340
- State
- Published
- Severity
- 8.8 High
- Published
- Dec 14, 2022
- Updated
- Apr 22, 2025
- Reserved
- Nov 30, 2022
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 | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Weaknesses
- CWE-787 Out-of-bounds Write
Affected Products
| Product | Versions |
|---|---|
xorg-x11-servern/a |
|
References
- https://access.redhat.com/security/cve/CVE-2022-46340
- https://bugzilla.redhat.com/show_bug.cgi?id=2151755
- FEDORA-2022-c3a65f7c65vendor-advisory
- FEDORA-2022-721a78b7e5vendor-advisory
- DSA-5304vendor-advisory
- FEDORA-2022-3d88188071vendor-advisory
- FEDORA-2022-dd3eb7e0a8vendor-advisory
- https://security.gentoo.org/glsa/202305-30
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.