CVE-2023-5380 json
Xorg-x11-server: use-after-free bug in destroywindow
published 2023-10-25 3 y ago modified 2026-11-05 3 d ago also EUVD-2023-57696
- cvss
- 4.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
A use-after-free flaw was found in the xorg-x11-server. An X server crash may occur in a very specific and legacy configuration (a multi-screen setup with multiple protocol screens, also known as Zaphod mode) if the pointer is warped from within a window on one screen to the root window of the other screen and if the original window is destroyed followed by another window being destroyed.
Patch / fix
- Red Hat Red Hat Enterprise Linux 7 0:1.8.0-26.el7_9
- Red Hat Red Hat Enterprise Linux 8 0:1.13.1-8.el8, 0:1.20.11-22.el8
- Red Hat Red Hat Enterprise Linux 9 0:1.13.1-8.el9, 0:1.20.11-24.el9
- xorg-server Debian 12 2:21.1.7-3+deb12u2
- xorg-server Debian 14, Debian 13 2:21.1.9-1
debian advisories DEBIAN-CVE-2023-5380
- xorg-server Ubuntu 20.04 LTS 2:1.20.13-1ubuntu1~20.04.9
- xorg-server Ubuntu 22.04 LTS 2:21.1.4-2ubuntu1.7~22.04.2
- xorg-server Ubuntu 24.04 LTS 2:21.1.7-3ubuntu2.1
- xorg-server Ubuntu Pro 14.04 LTS 2:1.15.1-0ubuntu2.11+esm8
- xorg-server Ubuntu Pro 16.04 LTS 2:1.18.4-0ubuntu0.12+esm6
- xorg-server Ubuntu Pro 18.04 LTS 2:1.19.6-1ubuntu4.15+esm1
ubuntu advisories UBUNTU-CVE-2023-5380
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- tigervnc RHEL 9 1.13.1-8.el9
- tigervnc-icons RHEL 9 1.13.1-8.el9
- tigervnc-server RHEL 9 1.13.1-8.el9
- tigervnc-license RHEL 9 1.13.1-8.el9
- tigervnc-selinux RHEL 9 1.13.1-8.el9
- tigervnc-server-module RHEL 9 1.13.1-8.el9
- tigervnc-server-minimal RHEL 9 1.13.1-8.el9
- xorg-x11-server RHEL 8 1.20.11-22.el8
red hat advisories RHSA-2024:2298RHSA-2024:2995RHSA-2024:2169RHSA-2024:3067RHSA-2023:7428
- xorg-x11-server SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +10 more 1.20.3-150200.22.5.79.1
- xorg-x11-server SLE Module for Development Tools 15 SP4, SLE Module for Basesystem 15 SP4, openSUSE Leap 15.4 1.20.3-150400.38.29.1
- xorg-x11-server SLE Module for Development Tools 15 SP5, SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 21.1.4-150500.7.7.1
- xorg-x11-server SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.19.6-10.56.1
suse advisories SUSE-SU-2023:4338-1SUSE-SU-2023:4292-1SUSE-SU-2023:4272-1SUSE-SU-2023:4269-1
- xwayland openSUSE Tumbleweed 23.2.2-1.1
opensuse advisories openSUSE-SU-2024:13362-1
- xorg-x11-server-Xdmx AlmaLinux 8 1.20.11-22.el8
- xorg-x11-server-Xorg AlmaLinux 8 1.20.11-22.el8
- xorg-x11-server-Xvfb AlmaLinux 8 1.20.11-22.el8
- xorg-x11-server-Xnest AlmaLinux 8 1.20.11-22.el8
- xorg-x11-server-common AlmaLinux 8 1.20.11-22.el8
- xorg-x11-server-source AlmaLinux 8 1.20.11-22.el8
- xorg-x11-server-Xephyr AlmaLinux 8 1.20.11-22.el8
- tigervnc AlmaLinux 8 1.13.1-8.el8
almalinux advisories ALSA-2024:2995ALSA-2024:3067ALSA-2024:2169ALSA-2024:2298
- xorg-server Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 21.1.9-r0
alpine advisories ALPINE-CVE-2023-5380
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- xorg-x11-server CBL-Mariner 2.0 1.20.10-10
azure linux advisories AZL-31704
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-5380 updated cvss 4.7
xorg-x11-server: Use-after-free bug in DestroyWindow
-
Red Hat Enterprise Linux 6 tigervnc, tigervnc-server, xorg-x11-server, xorg-x11-server-Xdmx, xorg-x11-server-Xorg, xorg-x11-server-Xvfb, +6 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 xorg-x11-server, xorg-x11-server-Xdmx, xorg-x11-server-Xorg, xorg-x11-server-Xvfb, xorg-x11-server-Xnest, xorg-x11-server-common, +3 moreaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux AppStream (v. 8) tigervnc 1.13.1-8.el8, tigervnc-icons 1.13.1-8.el8, tigervnc-server 1.13.1-8.el8, tigervnc-license 1.13.1-8.el8, tigervnc-selinux 1.13.1-8.el8, xorg-x11-server 1.20.11-22.el8, +8 morefixed: vendor fix RHSA-2024:3067
-
Red Hat Enterprise Linux AppStream (v. 9) tigervnc 1.13.1-8.el9, tigervnc-icons 1.13.1-8.el9, tigervnc-server 1.13.1-8.el9, tigervnc-license 1.13.1-8.el9, tigervnc-selinux 1.13.1-8.el9, xorg-x11-server 1.20.11-24.el9, +8 morefixed: vendor fix RHSA-2024:2298
-
Red Hat Enterprise Linux Client (v. 7) tigervnc 1.8.0-26.el7_9, tigervnc-icons 1.8.0-26.el7_9, tigervnc-server 1.8.0-26.el7_9, tigervnc-license 1.8.0-26.el7_9, tigervnc-server-minimal 1.8.0-26.el7_9 Red Hat Enterprise Linux Client Optional (v. 7) tigervnc-server-applet 1.8.0-26.el7_9, tigervnc-server-module 1.8.0-26.el7_9 Red Hat Enterprise Linux ComputeNode Optional (v. 7) tigervnc 1.8.0-26.el7_9, tigervnc-icons 1.8.0-26.el7_9, tigervnc-server 1.8.0-26.el7_9, tigervnc-server-applet 1.8.0-26.el7_9, tigervnc-server-module 1.8.0-26.el7_9fixed: vendor fix RHSA-2023:7428
-
Red Hat Enterprise Linux CRB (v. 8) xorg-x11-server-source 1.20.11-22.el8fixed: vendor fix RHSA-2024:2995
-
Red Hat Enterprise Linux CRB (v. 9) xorg-x11-server-source 1.20.11-24.el9fixed: vendor fix RHSA-2024:2169
-
Red Hat Enterprise Linux Server (v. 7) tigervnc 1.8.0-26.el7_9, tigervnc-icons 1.8.0-26.el7_9, tigervnc-server 1.8.0-26.el7_9, tigervnc-license 1.8.0-26.el7_9, tigervnc-server-minimal 1.8.0-26.el7_9 Red Hat Enterprise Linux Server Optional (v. 7) tigervnc-server-applet 1.8.0-26.el7_9, tigervnc-server-module 1.8.0-26.el7_9 Red Hat Enterprise Linux Workstation (v. 7) tigervnc 1.8.0-26.el7_9, tigervnc-icons 1.8.0-26.el7_9, tigervnc-server 1.8.0-26.el7_9, tigervnc-license 1.8.0-26.el7_9, tigervnc-server-minimal 1.8.0-26.el7_9 Red Hat Enterprise Linux Workstation Optional (v. 7) tigervnc-server-applet 1.8.0-26.el7_9, tigervnc-server-module 1.8.0-26.el7_9fixed: vendor fix RHSA-2023:7428
show 1 moreshow fewer
-
Red Hat Enterprise Linux 8 xorg-x11-server-Xwayland Red Hat Enterprise Linux 9 xorg-x11-server-Xwaylandnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.70% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 6
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
lists.x.org
/archives/xorg-announce/2023-October/003430.html
patch, vendor-advisory
-
access.redhat.com
/errata/RHSA-2023:7428
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2024:2169
vendor-advisory
-
access.redhat.com
/errata/RHSA-2024:2298
vendor-advisory
-
access.redhat.com
/errata/RHSA-2024:2995
vendor-advisory
-
access.redhat.com
/errata/RHSA-2024:3067
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2023-5380
vdb-entry, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2244736
issue-tracking
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/2WS5E7H4A5J3U5YBCTMRPQVGWK5LVH7D/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/3RK66CXMXO3PCPDU3GDY5FK4UYHUXQJT/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/AKKIE626TZOOPD533EYN47J4RFNHZVOP/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/HO2Q2NP6R62ZRQQG3XQ4AXUT7J2EKKKY/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/SN6KV4XGQJRVAOSM5C3CWMVAXO53COIP/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/TJXNI4BXURC2BKPNAHFJK3C5ZETB7PER/
- security.gentoo.org /glsa/202401-30
- security.netapp.com /advisory/ntap-20231130-0004/
- debian.org /security/2023/dsa-5534
- lists.debian.org /debian-lts-announce/2023/10/msg00036.html
Sources
- CVE List CVE-2023-5380
- NVD CVE-2023-5380
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.