CVE-2022-46341
Reported by redhat · Published December 14, 2022
A vulnerability was found in X.Org. This security flaw occurs because the handler for the XIPassiveUngrab request accesses out-of-bounds memory when invoked with a high keycode or button code. 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| xorg-x11-server-Xwayland | Amazon Linux | 1.20.4-22.amzn2 |
| xorg-x11-server-Xnest | Amazon Linux | 1.20.14-12.amzn2023.0.2 |
| xorg-x11-server-common | Amazon Linux | 1.20.4-22.amzn2 |
| xorg-x11-server-source | Amazon Linux | 1.20.4-22.amzn2 |
| xorg-server | Alpine | 21.1.5-r0 |
| xorg-x11-server-Xvfb | Amazon Linux | 1.20.14-12.amzn2023.0.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | xorg-x11-server | xorg-x11-server-1.20.4 |
| amazon:2 | xorg-x11-server-Xwayland | 0 |
| amazon:2023 | xorg-x11-server-Xnest | 0 |
| amazon:2 | xorg-x11-server-common | 0 |
| amazon:2 | xorg-x11-server-source | 0 |
| alpine | xorg-server | 0 |
| amazon:2023 | xorg-x11-server-Xvfb | 0 |
| n/a | xorg-x11-server | 1.20.4 |
| amazon:2 | xorg-x11-server-devel | 0 |
| amazon:2 | xorg-x11-server-Xorg | 0 |
| amazon:2023 | xorg-x11-server-Xephyr | 0 |
| amazon:2023 | xorg-x11-server-Xorg | 0 |
| amazon:2 | xorg-x11-server-Xdmx | 0 |
| amazon:2023 | xorg-x11-server-source | 0 |
| amazon:2 | xorg-x11-server-Xvfb | 0 |
| alpine | xwayland | 0 |
| amazon:2023 | xorg-x11-server-common | 0 |
| amazon:2023 | xorg-x11-server-devel | 0 |
| amazon:2023 | xorg-x11-server-Xdmx | 0 |
| amazon:2 | xorg-x11-server-Xnest | 0 |
…and 1 more
Timeline
- Dec 13, 2022 CVE Published
- Dec 15, 2022 EPSS Score (30 in total, the first dated here)
- Apr 22, 2025 CVE Updated
- Mar 10, 2026 Distribution Patch (12 in total, the first dated here)
- Mar 10, 2026 Security Advisory (14 in total, the first dated here)
- Jun 11, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-46341
vulnetix vdb fixes CVE-2022-46341
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-46341/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2022-c3a65f7c65 vendor-advisory
- FEDORA-2022-721a78b7e5 vendor-advisory
- DSA-5304 vendor-advisory
- FEDORA-2022-dd3eb7e0a8 vendor-advisory