CVE-2023-5380
Xorg-x11-server: use-after-free bug in destroywindow
Reported by redhat · Published October 25, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| xorg-x11-server-Xdmx | Amazon Linux | 1.20.14-26.amzn2023.0.1, 1.20.4-22.amzn2.0.1 |
| xorg-x11-server-Xorg | Amazon Linux | 1.20.14-26.amzn2023.0.1, 1.20.4-22.amzn2.0.1 |
| xorg-x11-server-Xwayland | Amazon Linux | 1.20.4-22.amzn2.0.1 |
| xorg-x11-server-common | Amazon Linux | 1.20.14-26.amzn2023.0.1, 1.20.4-22.amzn2.0.1 |
| xorg-x11-server-source | Amazon Linux | 1.20.14-26.amzn2023.0.1, 1.20.4-22.amzn2.0.1 |
| xorg-x11-server-devel | Amazon Linux | 1.20.14-26.amzn2023.0.1, 1.20.4-22.amzn2.0.1 |
| xorg-server | Alpine | 21.1.9-r0 |
| xorg-x11-server-Xephyr | Amazon Linux | 1.20.14-26.amzn2023.0.1, 1.20.4-22.amzn2.0.1 |
| xorg-x11-server-Xvfb | Amazon Linux | 1.20.14-26.amzn2023.0.1, 1.20.4-22.amzn2.0.1 |
| xorg-x11-server-Xnest | Amazon Linux | 1.20.14-26.amzn2023.0.1, 1.20.4-22.amzn2.0.1 |
| x_server | x.org | 21.1.9 |
| xwayland | x.org | 23.2.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 7 | 0:1.8.0-26.el7_9 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:1.20.11-22.el8 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:1.13.1-8.el8 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.20.11-24.el9 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.13.1-8.el9 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| amazon:2 | xorg-x11-server-Xdmx | 0 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| amazon:2023 | xorg-x11-server-Xdmx | 0 |
| amazon:2023 | xorg-x11-server-Xorg | 0 |
| Red Hat | Red Hat Enterprise Linux 7 | |
| amazon:2 | xorg-x11-server-Xwayland | 0 |
| amazon:2 | xorg-x11-server-common | 0 |
| Red Hat | Red Hat Enterprise Linux 8 | |
| amazon:2023 | xorg-x11-server-common | 0 |
| amazon:2 | xorg-x11-server-source | 0 |
…and 18 more
Timeline
- Oct 24, 2023 CVE Published
- Oct 26, 2023 EPSS Score (30 in total, the first dated here)
- Oct 26, 2023 PoC Published
- Oct 5, 2024 Coalition ESS Score (12 in total, the first dated here)
- Jan 24, 2026 Distribution Patch (20 in total, the first dated here)
- Jan 24, 2026 Security Advisory (22 in total, the first dated here)
- Nov 5, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-5380
vulnetix vdb fixes CVE-2023-5380
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-5380/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2023:7428 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:2169 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:2298 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:2995 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:3067 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2244736 issue-trackingx_refsource_REDHAT
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2WS5E7H4A5J3U5YBCTMRPQVGWK5LVH7D/ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3RK66CXMXO3PCPDU3GDY5FK4UYHUXQJT/ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AKKIE626TZOOPD533EYN47J4RFNHZVOP/ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HO2Q2NP6R62ZRQQG3XQ4AXUT7J2EKKKY/ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SN6KV4XGQJRVAOSM5C3CWMVAXO53COIP/ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TJXNI4BXURC2BKPNAHFJK3C5ZETB7PER/ url
- https://security.gentoo.org/glsa/202401-30 url
- https://security.netapp.com/advisory/ntap-20231130-0004/ url
- https://www.debian.org/security/2023/dsa-5534 url
- https://lists.debian.org/debian-lts-announce/2023/10/msg00036.html url