# CVE-2023-5380: Xorg-x11-server: use-after-free bug in destroywindow

- Priority: **Routine**
- Reason: Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-10-25 · Modified: 2026-11-24
- Aliases: RHSA-2024:3067, UBUNTU-CVE-2023-5380, DEBIAN-CVE-2023-5380, ALPINE-CVE-2023-5380
- Record: https://cvemate.com/vulnerability/CVE-2023-5380 · JSON: https://cvemate.com/vulnerability/CVE-2023-5380/json

## Description

```text
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.
```

## Signals

- CVSS: 4.7 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.806%, percentile 58.111%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 22)

- alpine xorg-server (Alpine Linux): \< 21.1.9-r0
- debian xorg-server (Debian): \< 2:21.1.7-3+deb12u2 \| \< 2:21.1.9-1
- ubuntu xorg-server (Ubuntu): \< 2:1.15.1-0ubuntu2.11+esm8 \| \< 2:1.18.4-0ubuntu0.12+esm6 \| \< 2:1.19.6-1ubuntu4.15+esm1 \| \< 2:1.20.13-1ubuntu1~20.04.9 \| \< 2:21.1.4-2ubuntu1.7~22.04.2 \| \< 2:21.1.7-3ubuntu2.1
- ubuntu xorg-server-hwe-16.04 (Ubuntu): All versions (No fix recorded)
- ubuntu xorg-server-hwe-18.04 (Ubuntu): All versions (No fix recorded)
- debian debian\_linux: 11.0 \| 12.0
- fedoraproject fedora: 37 \| 38 \| 39
- redhat enterprise\_linux: 7.0 \| 8.0 \| 9.0
- redhat tigervnc (Red Hat): \< 0:1.13.1-8.el8
- redhat tigervnc-debuginfo (Red Hat): \< 0:1.13.1-8.el8
- redhat tigervnc-debugsource (Red Hat): \< 0:1.13.1-8.el8
- redhat tigervnc-icons (Red Hat): \< 0:1.13.1-8.el8
- redhat tigervnc-license (Red Hat): \< 0:1.13.1-8.el8
- redhat tigervnc-selinux (Red Hat): \< 0:1.13.1-8.el8
- redhat tigervnc-server (Red Hat): \< 0:1.13.1-8.el8
- redhat tigervnc-server-debuginfo (Red Hat): \< 0:1.13.1-8.el8
- redhat tigervnc-server-minimal (Red Hat): \< 0:1.13.1-8.el8
- redhat tigervnc-server-minimal-debuginfo (Red Hat): \< 0:1.13.1-8.el8
- redhat tigervnc-server-module (Red Hat): \< 0:1.13.1-8.el8
- redhat tigervnc-server-module-debuginfo (Red Hat): \< 0:1.13.1-8.el8

## References (first 20 of 29)

- <https://access.redhat.com/errata/RHSA-2023:7428>
- <https://access.redhat.com/errata/RHSA-2024:2169>
- <https://access.redhat.com/errata/RHSA-2024:2298>
- <https://access.redhat.com/errata/RHSA-2024:2995>
- <https://access.redhat.com/errata/RHSA-2024:3067>
- <https://access.redhat.com/security/cve/CVE-2023-5380>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2244736>
- <https://lists.x.org/archives/xorg-announce/2023-October/003430.html>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2WS5E7H4A5J3U5YBCTMRPQVGWK5LVH7D/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3RK66CXMXO3PCPDU3GDY5FK4UYHUXQJT/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AKKIE626TZOOPD533EYN47J4RFNHZVOP/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HO2Q2NP6R62ZRQQG3XQ4AXUT7J2EKKKY/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SN6KV4XGQJRVAOSM5C3CWMVAXO53COIP/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TJXNI4BXURC2BKPNAHFJK3C5ZETB7PER/>
- <https://security.gentoo.org/glsa/202401-30>
- <https://security.netapp.com/advisory/ntap-20231130-0004/>
- <https://www.debian.org/security/2023/dsa-5534>
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00036.html>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.10_release_notes/index>

---

Data as of 2026-12-05T03:31:51.471Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
