Back
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…
High8.8EPSS 2.7%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.7% · top 14% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Weakness
Affected products
xorg-x11-server
- affected xorg-x11-server-1.20.4
References (8)
- https://access.redhat.com/security/cve/CVE-2022-46340 (opens in a new tab)x_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=2151755 (opens in a new tab)x_transferred
- FEDORA-2022-c3a65f7c65 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-721a78b7e5 (opens in a new tab)vendor-advisoryx_transferred
- DSA-5304 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-3d88188071 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-dd3eb7e0a8 (opens in a new tab)vendor-advisoryx_transferred
- https://security.gentoo.org/glsa/202305-30 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-46340)Record last updated .