cve.bz

CVE-2022-46342 Use After Free

8.8 highEPSS 1.4%

High (8.8). EPSS 1.4% estimated probability of exploitation activity in the next 30 days.

On this page
A vulnerability was found in X.Org. This security flaw occurs because the handler for the XvdiSelectVideoNotify request may write to memory after it has been freed. This issue can lead to local privileges elevation on systems where the X se

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 74th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-04-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-46342 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-46342?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-46342?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-46342 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
x.org:x_server1.20.4
fedoraproject:fedora36
fedoraproject:fedora37
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10xorg-server2:1.20.4-1+deb10u7DLA-3256-1
Debian11xorg-server2:1.20.11-1+deb11u4DSA-5304-1
Debian12, 13, 14xorg-server2:21.1.5-1DEBIAN-CVE-2022-46342
Debian12, 13, 14xwayland2:22.1.6-1DEBIAN-CVE-2022-46342
Ubuntu18.04:LTSxorg-server2:1.19.6-1ubuntu4.13UBUNTU-CVE-2022-46342 USN-5778-1
Ubuntu18.04:LTSxorg-server-hwe-18.042:1.20.8-2ubuntu2.2~18.04.9UBUNTU-CVE-2022-46342 USN-5778-1
Ubuntu20.04:LTSxorg-server2:1.20.13-1ubuntu1~20.04.5UBUNTU-CVE-2022-46342 USN-5778-1
Ubuntu22.04:LTSxorg-server2:21.1.3-2ubuntu2.5UBUNTU-CVE-2022-46342 USN-5778-1
Ubuntu22.04:LTSxwayland2:22.1.1-1ubuntu0.4UBUNTU-CVE-2022-46342 USN-5778-1
UbuntuPro:14.04:LTSxorg-server2:1.15.1-0ubuntu2.11+esm7UBUNTU-CVE-2022-46342 USN-5778-2
UbuntuPro:16.04:LTSxorg-server2:1.18.4-0ubuntu0.12+esm5UBUNTU-CVE-2022-46342 USN-5778-2
UbuntuPro:16.04:LTSxorg-server-hwe-16.042:1.19.6-1ubuntu4.1~16.04.6+esm4UBUNTU-CVE-2022-46342 USN-5778-2
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morexorg-x11-server, xorg-x11-server-Xdmx, xorg-x11-server-Xorg and 8 more0:1.20.4-21.el7_9RHSA-2023:0046
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationtigervnc, tigervnc-icons, tigervnc-server and 5 more0:1.8.0-23.el7_9RHSA-2023:0045
Red Hatenterprise_linux:7::computenodetigervnc, tigervnc-icons, tigervnc-server and 3 more0:1.8.0-23.el7_9RHSA-2023:0045
Red Hatenterprise_linux:8::appstreamtigervnc, tigervnc-icons, tigervnc-server and 9 more0:1.12.0-15.el8_8RHSA-2023:2830
Red Hatenterprise_linux:8::appstreamxorg-x11-server, xorg-x11-server-Xdmx, xorg-x11-server-Xorg and 11 more0:1.20.11-15.el8RHSA-2023:2806
Red Hatenterprise_linux:8::appstreamxorg-x11-server-Xwayland, xorg-x11-server-Xwayland-debuginfo, xorg-x11-server-Xwayland-debugsource0:21.1.3-10.el8RHSA-2023:2805
Red Hatenterprise_linux:8::crbxorg-x11-server-devel, xorg-x11-server-source, xorg-x11-server-debuginfo and 6 more0:1.20.11-15.el8RHSA-2023:2806
Red Hatenterprise_linux:9::appstreamtigervnc, tigervnc-icons, tigervnc-server and 9 more0:1.12.0-13.el9_2RHSA-2023:2257
Red Hatenterprise_linux:9::appstreamxorg-x11-server, xorg-x11-server-Xdmx, xorg-x11-server-Xorg and 11 more0:1.20.11-17.el9RHSA-2023:2248
Red Hatenterprise_linux:9::appstreamxorg-x11-server-Xwayland, xorg-x11-server-Xwayland-debuginfo, xorg-x11-server-Xwayland-debugsource0:21.1.3-7.el9RHSA-2023:2249
Red Hatenterprise_linux:9::crbxorg-x11-server-devel, xorg-x11-server-source, xorg-x11-server-debuginfo and 6 more0:1.20.11-17.el9RHSA-2023:2248
Red Hatrhel_els:6tigervnc, tigervnc-server, tigervnc-debuginfo and 2 more0:1.1.0-25.el6_10.13RHSA-2025:12751
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 3 morexorg-x11-server1.20.3-150100.14.5.33.1SUSE-SU-2022:4481-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 10 morexorg-x11-server1.20.3-150200.22.5.63.1SUSE-SU-2022:4480-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 morexorg-x11-server1.19.6-150000.8.47.1SUSE-SU-2022:4482-1
SUSELinux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Development Tools 15 SP4xorg-x11-server1.20.3-150400.38.13.1SUSE-SU-2022:4479-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCLxorg-x11-server7.6_1.18.3-76.57.1SUSE-SU-2022:4485-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server for SAP Applications 12 SP4, OpenStack Cloud 9 and 1 morexorg-x11-server1.19.6-4.39.1SUSE-SU-2022:4484-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5xorg-x11-server1.19.6-10.40.1SUSE-SU-2022:4483-1
SUSELinux Enterprise Workstation Extension 15 SP4xwayland21.1.4-150400.3.6.1SUSE-SU-2022:4487-1
openSUSELeap 15.3, Leap 15.4xorg-x11-server1.20.3-150200.22.5.63.1SUSE-SU-2022:4480-1
openSUSELeap 15.4xorg-x11-server1.20.3-150400.38.13.1SUSE-SU-2022:4479-1
openSUSELeap 15.4xwayland21.1.4-150400.3.6.1SUSE-SU-2022:4487-1
openSUSETumbleweedxorg-x11-server21.1.4-6.1openSUSE-SU-2024:12569-1
openSUSETumbleweedxwayland22.1.5-2.1openSUSE-SU-2024:12570-1
AlmaLinux8tigervnc, tigervnc-icons, tigervnc-server and 4 more1.12.0-15.el8_8ALSA-2023:2830
AlmaLinux8xorg-x11-server-Xdmx, xorg-x11-server-Xorg, xorg-x11-server-Xvfb and 5 more1.20.11-15.el8ALSA-2023:2806
AlmaLinux8xorg-x11-server-Xwayland21.1.3-10.el8ALSA-2023:2805
AlmaLinux9tigervnc, tigervnc-icons, tigervnc-server and 4 more1.12.0-13.el9_2ALSA-2023:2257
AlmaLinux9xorg-x11-server-Xdmx, xorg-x11-server-Xorg, xorg-x11-server-Xvfb and 5 more1.20.11-17.el9ALSA-2023:2248
AlmaLinux9xorg-x11-server-Xwayland21.1.3-7.el9ALSA-2023:2249
Alpinev3.17, v3.18, v3.19 and 5 morexorg-server21.1.5-r0ALPINE-CVE-2022-46342
Alpinev3.17, v3.18, v3.19 and 5 morexwayland22.1.6-r0ALPINE-CVE-2022-46342
Azure Linux3xorg-x11-serverno fix listedAZL-44661

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Xorg server does not run with root privileges in Red Hat Enterprise Linux 8 and 9, therefore Red Hat Enterprise Linux 8 and 9 have been rated with a Moderate severity.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONtigervnc-0:1.1.0-25.el6_10.13Fixed 2025-08-04RHSA-2025:12751
Red Hat Enterprise Linux 7tigervnc-0:1.8.0-23.el7_9Fixed 2023-01-09RHSA-2023:0045
Red Hat Enterprise Linux 7xorg-x11-server-0:1.20.4-21.el7_9Fixed 2023-01-09RHSA-2023:0046
Red Hat Enterprise Linux 8xorg-x11-server-Xwayland-0:21.1.3-10.el8Fixed 2023-05-16RHSA-2023:2805
Red Hat Enterprise Linux 8xorg-x11-server-0:1.20.11-15.el8Fixed 2023-05-16RHSA-2023:2806
Red Hat Enterprise Linux 8tigervnc-0:1.12.0-15.el8_8Fixed 2023-05-16RHSA-2023:2830
Red Hat Enterprise Linux 9xorg-x11-server-0:1.20.11-17.el9Fixed 2023-05-09RHSA-2023:2248
Red Hat Enterprise Linux 9xorg-x11-server-Xwayland-0:21.1.3-7.el9Fixed 2023-05-09RHSA-2023:2249
Red Hat Enterprise Linux 9tigervnc-0:1.12.0-13.el9_2Fixed 2023-05-09RHSA-2023:2257
Red Hat Enterprise Linux 6xorg-x11-serverOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-46342.

References

Check your stackJSON