cve.bz

CVE-2023-1393 Use After Free

7.8 highEPSS 0.4%Fix available

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

On this page
A flaw was found in X.Org Server Overlay Window. A Use-After-Free may lead to local privilege escalation. If a client explicitly destroys the compositor overlay window (aka COW), the Xserver would leave a dangling pointer to that window in the CompScreen structure, which will trigger a use-after-free later.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 33rd 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 2026-01-21. 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-2023-1393 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-1393?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-1393?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-2023-1393 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_serverbefore 21.1.8
fedoraproject:fedora36
fedoraproject:fedora37
fedoraproject:fedora38

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10xorg-server2:1.20.4-1+deb10u9DLA-3372-1
Debian11xorg-server2:1.20.11-1+deb11u6DSA-5380-1
Debian12, 13, 14xorg-server2:21.1.7-2DEBIAN-CVE-2023-1393
Debian12, 13, 14xwayland2:22.1.9-1DEBIAN-CVE-2023-1393
Ubuntu18.04:LTSxorg-server2:1.19.6-1ubuntu4.15UBUNTU-CVE-2023-1393 USN-5986-1
Ubuntu18.04:LTSxorg-server-hwe-18.042:1.20.8-2ubuntu2.2~18.04.11UBUNTU-CVE-2023-1393 USN-5986-1
Ubuntu20.04:LTStigervnc1.10.1+dfsg-3ubuntu0.20.04.1UBUNTU-CVE-2023-1393
Ubuntu20.04:LTSxorg-server2:1.20.13-1ubuntu1~20.04.8UBUNTU-CVE-2023-1393 USN-5986-1
Ubuntu22.04:LTStigervnc1.12.0+dfsg-4ubuntu0.22.04.1UBUNTU-CVE-2023-1393
Ubuntu22.04:LTSxorg-server2:21.1.3-2ubuntu2.9UBUNTU-CVE-2023-1393 USN-5986-1
Ubuntu22.04:LTSxwayland2:22.1.1-1ubuntu0.6UBUNTU-CVE-2023-1393 USN-5986-1
UbuntuPro:14.04:LTSxorg-serverno fix listedUBUNTU-CVE-2023-1393
UbuntuPro:16.04:LTSxorg-server, xorg-server-hwe-16.04no fix listedUBUNTU-CVE-2023-1393
UbuntuPro:18.04:LTStigervncno fix listedUBUNTU-CVE-2023-1393
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-23.el7_9RHSA-2023:1594
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationtigervnc, tigervnc-icons, tigervnc-server and 5 more0:1.8.0-25.el7_9RHSA-2023:1594
Red Hatenterprise_linux:7::computenodetigervnc, tigervnc-icons, tigervnc-server and 3 more0:1.8.0-25.el7_9RHSA-2023:1594
Red Hatenterprise_linux:8::appstreamtigervnc, tigervnc-icons, tigervnc-server and 9 more0:1.12.0-9.el8_7.3RHSA-2023:1551
Red Hatenterprise_linux:8::appstreamxorg-x11-server, xorg-x11-server-Xdmx, xorg-x11-server-Xorg and 11 more0:1.20.11-17.el8RHSA-2023:6916
Red Hatenterprise_linux:8::appstreamxorg-x11-server-Xwayland, xorg-x11-server-Xwayland-debuginfo, xorg-x11-server-Xwayland-debugsource0:21.1.3-12.el8RHSA-2023:6917
Red Hatenterprise_linux:8::crbxorg-x11-server-devel, xorg-x11-server-source, xorg-x11-server-debuginfo and 6 more0:1.20.11-17.el8RHSA-2023:6916
Red Hatenterprise_linux:9::appstreamtigervnc, tigervnc-icons, tigervnc-server and 9 more0:1.12.0-5.el9_1.2RHSA-2023:1592
Red Hatenterprise_linux:9::appstreamxorg-x11-server, xorg-x11-server-Xdmx, xorg-x11-server-Xorg and 11 more0:1.20.11-19.el9RHSA-2023:6340
Red Hatenterprise_linux:9::appstreamxorg-x11-server-Xwayland, xorg-x11-server-Xwayland-debuginfo, xorg-x11-server-Xwayland-debugsource0:22.1.9-2.el9RHSA-2023:6341
Red Hatenterprise_linux:9::crbxorg-x11-server-devel, xorg-x11-server-source, xorg-x11-server-debuginfo and 6 more0:1.20.11-19.el9RHSA-2023:6340
Red Hatrhel_aus:8.2::appstream, rhel_e4s:8.2::appstream, rhel_tus:8.2::appstreamtigervnc, tigervnc-icons, tigervnc-server and 9 more0:1.9.0-15.el8_2.3RHSA-2023:1549
5 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 10 morexorg-x11-server1.20.3-150200.22.5.72.1SUSE-SU-2023:1678-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1xorg-x11-server1.20.3-150100.14.5.42.1SUSE-SU-2023:1679-1
SUSELinux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Development Tools 15 SP4xorg-x11-server1.20.3-150400.38.22.1SUSE-SU-2023:1675-1
SUSELinux Enterprise Server 12 SP2-BCLxorg-x11-server7.6_1.18.3-76.66.1SUSE-SU-2023:1680-1
SUSELinux Enterprise Server 12 SP4-ESPOS, Linux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server for SAP Applications 12 SP4 and 2 morexorg-x11-server1.19.6-4.48.1SUSE-SU-2023:1674-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.49.1SUSE-SU-2023:1677-1
SUSELinux Enterprise Workstation Extension 15 SP4xwayland21.1.4-150400.3.15.1SUSE-SU-2023:1716-1
openSUSELeap 15.4xorg-x11-server1.20.3-150200.22.5.72.1SUSE-SU-2023:1678-1
openSUSELeap 15.4xorg-x11-server1.20.3-150400.38.22.1SUSE-SU-2023:1675-1
openSUSELeap 15.4xwayland21.1.4-150400.3.15.1SUSE-SU-2023:1716-1
openSUSETumbleweedxorg-x11-server21.1.7-2.1openSUSE-SU-2024:12827-1
openSUSETumbleweedxwayland23.1.1-1.1openSUSE-SU-2024:12834-1
AlmaLinux8tigervnc, tigervnc-icons, tigervnc-server and 4 more1.12.0-9.el8_7.3ALSA-2023:1551
AlmaLinux8xorg-x11-server-Xdmx, xorg-x11-server-Xorg, xorg-x11-server-Xvfb and 5 more1.20.11-17.el8ALSA-2023:6916
AlmaLinux8xorg-x11-server-Xwayland21.1.3-12.el8ALSA-2023:6917
AlmaLinux9tigervnc, tigervnc-icons, tigervnc-server and 4 more1.12.0-5.el9_1.2ALSA-2023:1592
AlmaLinux9xorg-x11-server-Xdmx, xorg-x11-server-Xorg, xorg-x11-server-Xvfb and 5 more1.20.11-19.el9ALSA-2023:6340
AlmaLinux9xorg-x11-server-Xwayland22.1.9-2.el9ALSA-2023:6341
Rocky Linux9tigervnc0:1.12.0-5.el9_1.2RLSA-2023:1592
Azure Linux2xorg-x11-server1.20.10-4AZL-25859
Azure Linux3xorg-x11-server1.20.10-4AZL-35358
Azure Linux3xorg-x11-server1.20.10-6AZL-44478

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; Rocky Linux's errata, BSD-3-Clause; 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.

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 Moderate severity.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

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-25.el7_9Fixed 2023-04-04RHSA-2023:1594
Red Hat Enterprise Linux 7xorg-x11-server-0:1.20.4-23.el7_9Fixed 2023-04-04RHSA-2023:1594
Red Hat Enterprise Linux 8tigervnc-0:1.12.0-9.el8_7.3Fixed 2023-04-04RHSA-2023:1551
Red Hat Enterprise Linux 8xorg-x11-server-0:1.20.11-17.el8Fixed 2023-11-14RHSA-2023:6916
Red Hat Enterprise Linux 8xorg-x11-server-Xwayland-0:21.1.3-12.el8Fixed 2023-11-14RHSA-2023:6917
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionstigervnc-0:1.9.0-16.el8_1.3Fixed 2023-04-04RHSA-2023:1600
Red Hat Enterprise Linux 8.2 Advanced Update Supporttigervnc-0:1.9.0-15.el8_2.3Fixed 2023-04-03RHSA-2023:1549
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicetigervnc-0:1.9.0-15.el8_2.3Fixed 2023-04-03RHSA-2023:1549
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionstigervnc-0:1.9.0-15.el8_2.3Fixed 2023-04-03RHSA-2023:1549
Red Hat Enterprise Linux 8.4 Extended Update Supporttigervnc-0:1.11.0-8.el8_4.2Fixed 2023-04-03RHSA-2023:1548
Red Hat Enterprise Linux 8.6 Extended Update Supporttigervnc-0:1.12.0-6.el8_6.3Fixed 2023-04-04RHSA-2023:1598
Red Hat Enterprise Linux 9tigervnc-0:1.12.0-5.el9_1.2Fixed 2023-04-04RHSA-2023:1592
Red Hat Enterprise Linux 9xorg-x11-server-0:1.20.11-19.el9Fixed 2023-11-07RHSA-2023:6340
Red Hat Enterprise Linux 9xorg-x11-server-Xwayland-0:22.1.9-2.el9Fixed 2023-11-07RHSA-2023:6341
Red Hat Enterprise Linux 9.0 Extended Update Supporttigervnc-0:1.11.0-22.el9_0.2Fixed 2023-04-04RHSA-2023:1599
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-2023-1393.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON