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

- Severity: Medium 4.7 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.81%, higher than 57% of CVEs (2026-12-01)
- Published: 2023-10-25T19:46:59.432Z
- Modified: 2026-11-24T04:17:12.457Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- tigervnc: no versions given (not affected: from 0:1.8.0-26.el7_9 before *; from 0:1.13.1-8.el8 before *; from 0:1.13.1-8.el9 before *)
- xorg-x11-server: no versions given (not affected: from 0:1.20.11-22.el8 before *; from 0:1.20.11-24.el9 before *)
- xorg-x11-server-Xwayland: no versions given
- x.org x_server: before 21.1.9
- x.org xwayland: before 23.2.2
- redhat enterprise_linux: 7.0; 8.0; 9.0
- fedoraproject fedora: 37; 38; 39
- debian debian_linux: 11.0; 12.0

## Every score

- redhat: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2023:7428> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2169> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2298> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2995> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:3067> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-5380> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2244736> (issue-tracking)
- <https://lists.x.org/archives/xorg-announce/2023-October/003430.html> (patch, vendor-advisory)
- <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>

## Sources

- CVE List: [CVE-2023-5380](https://www.cve.org/CVERecord?id=CVE-2023-5380), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2023-5380](https://nvd.nist.gov/vuln/detail/CVE-2023-5380), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2023-5380 · Whole record: https://cve.day/CVE-2023-5380.json · Rebuilt by cve.day 2026-11-25T22:58:29.665Z
