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
02 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
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 2.68% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 85.5% of scored records. A rank, not a probability.
- NVD base score
- 8.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-12-14 00:00Z3 YR AGO
- Last updated
- 2025-04-22 15:54Z1 YR AGO
- Reserved
- 2022-11-30
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.8)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- Data version
- 5.1
- Document digest
- 3a645d285bca3c7e24d2cd8d9dd27771fba11e17c7c92a9c9108830b4a10fed5
05 Affected products
06 References
- access.redhat.comhttps://access.redhat.com/security/cve/CVE-2022-46340
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=2151755
- lists.fedoraproject.orgFEDORA-2022-c3a65f7c65https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DXDF2O5PPLE3SVAJJYUOSAD5QZ4TWQ2G/
- lists.fedoraproject.orgFEDORA-2022-721a78b7e5https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5NELB7YDWRABYYBG4UPTHRBDTKJRV5M2/
- www.debian.orgDSA-5304https://www.debian.org/security/2022/dsa-5304
- lists.fedoraproject.orgFEDORA-2022-3d88188071https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RWTH3SNJ3GKYDSN7I3QDGWYEPSMWU6EP/
- lists.fedoraproject.orgFEDORA-2022-dd3eb7e0a8https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z67QC4C3I2FI2WRFIUPEHKC36J362MLA/
- security.gentoo.orghttps://security.gentoo.org/glsa/202305-30
07 Fixed in
AlmaLinux 8
- tigervnc Fixed in 1.12.0-15.el8_8
- tigervnc-icons Fixed in 1.12.0-15.el8_8
- tigervnc-license Fixed in 1.12.0-15.el8_8
- tigervnc-selinux Fixed in 1.12.0-15.el8_8
- tigervnc-server Fixed in 1.12.0-15.el8_8
- tigervnc-server-minimal Fixed in 1.12.0-15.el8_8
- tigervnc-server-module Fixed in 1.12.0-15.el8_8
- xorg-x11-server-Xdmx Fixed in 1.20.11-15.el8
- xorg-x11-server-Xephyr Fixed in 1.20.11-15.el8
- xorg-x11-server-Xnest Fixed in 1.20.11-15.el8
- xorg-x11-server-Xorg Fixed in 1.20.11-15.el8
- xorg-x11-server-Xvfb Fixed in 1.20.11-15.el8
- xorg-x11-server-Xwayland Fixed in 21.1.3-10.el8
- xorg-x11-server-common Fixed in 1.20.11-15.el8
- xorg-x11-server-devel Fixed in 1.20.11-15.el8
- xorg-x11-server-source Fixed in 1.20.11-15.el8
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- tigervnc Fixed in 1.12.0-13.el9_2
- tigervnc-icons Fixed in 1.12.0-13.el9_2
- tigervnc-license Fixed in 1.12.0-13.el9_2
- tigervnc-selinux Fixed in 1.12.0-13.el9_2
- tigervnc-server Fixed in 1.12.0-13.el9_2
- tigervnc-server-minimal Fixed in 1.12.0-13.el9_2
- tigervnc-server-module Fixed in 1.12.0-13.el9_2
- xorg-x11-server-Xdmx Fixed in 1.20.11-17.el9
- xorg-x11-server-Xephyr Fixed in 1.20.11-17.el9
- xorg-x11-server-Xnest Fixed in 1.20.11-17.el9
- xorg-x11-server-Xorg Fixed in 1.20.11-17.el9
- xorg-x11-server-Xvfb Fixed in 1.20.11-17.el9
- xorg-x11-server-Xwayland Fixed in 21.1.3-7.el9
- xorg-x11-server-common Fixed in 1.20.11-17.el9
- xorg-x11-server-devel Fixed in 1.20.11-17.el9
- xorg-x11-server-source Fixed in 1.20.11-17.el9
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- tigervnc Fixed in 1.12.0-15.el8_8
- tigervnc-icons Fixed in 1.12.0-15.el8_8
- tigervnc-license Fixed in 1.12.0-15.el8_8
- tigervnc-selinux Fixed in 1.12.0-15.el8_8
- tigervnc-server Fixed in 1.12.0-15.el8_8
- tigervnc-server-minimal Fixed in 1.12.0-15.el8_8
- tigervnc-server-module Fixed in 1.12.0-15.el8_8
- xorg-x11-server-Xdmx Fixed in 1.20.11-15.el8
- xorg-x11-server-Xephyr Fixed in 1.20.11-15.el8
- xorg-x11-server-Xnest Fixed in 1.20.11-15.el8
- xorg-x11-server-Xorg Fixed in 1.20.11-15.el8
- xorg-x11-server-Xvfb Fixed in 1.20.11-15.el8
- xorg-x11-server-Xwayland Fixed in 21.1.3-10.el8
- xorg-x11-server-common Fixed in 1.20.11-15.el8
- xorg-x11-server-devel Fixed in 1.20.11-15.el8
- xorg-x11-server-source Fixed in 1.20.11-15.el8
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- tigervnc Fixed in 1.12.0-13.el9_2
- tigervnc-icons Fixed in 1.12.0-13.el9_2
- tigervnc-license Fixed in 1.12.0-13.el9_2
- tigervnc-selinux Fixed in 1.12.0-13.el9_2
- tigervnc-server Fixed in 1.12.0-13.el9_2
- tigervnc-server-minimal Fixed in 1.12.0-13.el9_2
- tigervnc-server-module Fixed in 1.12.0-13.el9_2
- xorg-x11-server-Xdmx Fixed in 1.20.11-17.el9
- xorg-x11-server-Xephyr Fixed in 1.20.11-17.el9
- xorg-x11-server-Xnest Fixed in 1.20.11-17.el9
- xorg-x11-server-Xorg Fixed in 1.20.11-17.el9
- xorg-x11-server-Xvfb Fixed in 1.20.11-17.el9
- xorg-x11-server-Xwayland Fixed in 21.1.3-7.el9
- xorg-x11-server-common Fixed in 1.20.11-17.el9
- xorg-x11-server-devel Fixed in 1.20.11-17.el9
- xorg-x11-server-source Fixed in 1.20.11-17.el9
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- xorg-server Fixed in 2:21.1.5-1
- xwayland Fixed in 2:22.1.6-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- xorg-server Fixed in 2:21.1.5-1
- xwayland Fixed in 2:22.1.6-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- xorg-server Fixed in 2:21.1.5-1
- xwayland Fixed in 2:22.1.6-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- xorg-server Fixed in 2:1.19.6-1ubuntu4.13
- xorg-server-hwe-18.04 Fixed in 2:1.20.8-2ubuntu2.2~18.04.9
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- xorg-server Fixed in 2:1.20.13-1ubuntu1~20.04.5
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- xorg-server Fixed in 2:21.1.3-2ubuntu2.5
- xwayland Fixed in 2:22.1.1-1ubuntu0.4
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- xorg-server Fixed in 2:1.15.1-0ubuntu2.11+esm7Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- xorg-server Fixed in 2:1.18.4-0ubuntu0.12+esm5Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- xorg-server-hwe-16.04 Fixed in 2:1.19.6-1ubuntu4.1~16.04.6+esm4Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.