CVE-2023-5574Xorg-x11-server: use-after-free bug in damagedestroy
A use-after-free flaw was found in xorg-x11-server-Xvfb. This issue occurs in Xvfb with 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 a screen 1 to a screen 0, a use-after-free issue may be triggered during shutdown or reset of the Xvfb server, allowing for possible escalation of privileges or denial of service.
What to do
Fixed builds are available from AlmaLinux, Alpine, Red Hat: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | xorg-server | Fix pending | UBUNTU-CVE-2023-5574 | |
| Ubuntu 26.04 | xorg | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | xorg-server | Under investigation | UBUNTU-CVE-2023-5574 | |
| Ubuntu 26.04 | xwayland | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | xorg | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | xorg-server | Will not fix xorg server is actually the xorg-server package the xorg package only contains docs xwayland package contains parts of xorg-server, but the issue does not… | UBUNTU-CVE-2023-5574 | |
| Ubuntu 25.10 | xwayland | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | xorg | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | xorg-server | Under investigation | UBUNTU-CVE-2023-5574 | |
| Ubuntu 24.04 | xwayland | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | xorg | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | xorg-server | Under investigation | UBUNTU-CVE-2023-5574 | |
| Ubuntu 22.04 | xwayland | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | xorg | Will not fix xorg server is actually the xorg-server package the xorg package only contains docs xwayland package contains parts of xorg-server, but the issue does not… | ||
| Ubuntu 20.04 | xorg-server | Fix pending | UBUNTU-CVE-2023-5574 | |
| Ubuntu 18.04 | xorg | Will not fix xorg server is actually the xorg-server package the xorg package only contains docs xwayland package contains parts of xorg-server, but the issue does not… | ||
| Ubuntu 18.04 | xorg-hwe-18.04 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | xorg-server | Fix pending | UBUNTU-CVE-2023-5574 | |
| Ubuntu 18.04 | xorg-server-hwe-18.04 | Fix pending | UBUNTU-CVE-2023-5574 | |
| Ubuntu 16.04 | xorg | Will not fix xorg server is actually the xorg-server package the xorg package only contains docs xwayland package contains parts of xorg-server, but the issue does not… | ||
| Ubuntu 16.04 | xorg-hwe-16.04 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | xorg-server | Will not fix xorg server is actually the xorg-server package the xorg package only contains docs xwayland package contains parts of xorg-server, but the issue does not… | UBUNTU-CVE-2023-5574 | |
| Ubuntu 16.04 | xorg-server-hwe-16.04 | Will not fix xorg server is actually the xorg-server package the xorg package only contains docs xwayland package contains parts of xorg-server, but the issue does not… | UBUNTU-CVE-2023-5574 | |
| Ubuntu 14.04 | xorg | Will not fix xorg server is actually the xorg-server package the xorg package only contains docs xwayland package contains parts of xorg-server, but the issue does not… | ||
| Ubuntu 14.04 | xorg-server | Fix pending | UBUNTU-CVE-2023-5574 | |
| Ubuntu 14.04 | xorg-server-lts-utopic | Will not fix xorg server is actually the xorg-server package the xorg package only contains docs xwayland package contains parts of xorg-server, but the issue does not… | ||
| Ubuntu 14.04 | xorg-server-lts-vivid | Will not fix xorg server is actually the xorg-server package the xorg package only contains docs xwayland package contains parts of xorg-server, but the issue does not… | ||
| Ubuntu 14.04 | xorg-server-lts-wily | Will not fix xorg server is actually the xorg-server package the xorg package only contains docs xwayland package contains parts of xorg-server, but the issue does not… | ||
| Ubuntu 14.04 | xorg-server-lts-xenial | Will not fix xorg server is actually the xorg-server package the xorg package only contains docs xwayland package contains parts of xorg-server, but the issue does not… | ||
| Debian 14 | xorg-server | Fix pending | DEBIAN-CVE-2023-5574 | |
| Debian 13 | xorg-server | Fix pending | DEBIAN-CVE-2023-5574 | |
| Debian 12 | xorg-server | Fix pending | DEBIAN-CVE-2023-5574 | |
| Red Hat Enterprise Linux 9 | tigervnc | Fixed | 0:1.13.1-8.el9 | RHSA-2024:2298 |
| Red Hat Enterprise Linux 9 | tigervnc-icons | Fixed | 0:1.13.1-8.el9 | RHSA-2024:2298 |
| Red Hat Enterprise Linux 9 | tigervnc-license | Fixed | 0:1.13.1-8.el9 | RHSA-2024:2298 |
| Red Hat Enterprise Linux 9 | tigervnc-selinux | Fixed | 0:1.13.1-8.el9 | RHSA-2024:2298 |
| Red Hat Enterprise Linux 9 | tigervnc-server | Fixed | 0:1.13.1-8.el9 | RHSA-2024:2298 |
| Red Hat Enterprise Linux 9 | tigervnc-server-minimal | Fixed | 0:1.13.1-8.el9 | RHSA-2024:2298 |
| Red Hat Enterprise Linux 9 | tigervnc-server-module | Fixed | 0:1.13.1-8.el9 | RHSA-2024:2298 |
| Red Hat Enterprise Linux 9 | xorg-x11-server | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xdmx | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xephyr | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xnest | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xorg | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xvfb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xwayland | Not affected | ||
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xwayland-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | xorg-x11-server-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | xorg-x11-server-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | xorg-x11-server-source | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | tigervnc | Not affected | ||
| Red Hat Enterprise Linux 8 | tigervnc-icons | Not affected | ||
| Red Hat Enterprise Linux 8 | tigervnc-license | Not affected | ||
| Red Hat Enterprise Linux 8 | tigervnc-selinux | Not affected | ||
| Red Hat Enterprise Linux 8 | tigervnc-server | Not affected | ||
| Red Hat Enterprise Linux 8 | tigervnc-server-applet | Not affected | ||
| Red Hat Enterprise Linux 8 | tigervnc-server-minimal | Not affected | ||
| Red Hat Enterprise Linux 8 | tigervnc-server-module | Not affected | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server-Xdmx | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server-Xephyr | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server-Xnest | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server-Xorg | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server-Xvfb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server-Xwayland | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server-source | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | tigervnc | Not affected | ||
| Red Hat Enterprise Linux 7 | tigervnc-icons | Not affected | ||
| Red Hat Enterprise Linux 7 | tigervnc-license | Not affected | ||
| Red Hat Enterprise Linux 7 | tigervnc-server | Not affected | ||
| Red Hat Enterprise Linux 7 | tigervnc-server-applet | Not affected | ||
| Red Hat Enterprise Linux 7 | tigervnc-server-minimal | Not affected | ||
| Red Hat Enterprise Linux 7 | tigervnc-server-module | Not affected | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server-Xdmx | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server-Xephyr | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server-Xnest | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server-Xorg | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server-Xvfb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server-Xwayland | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server-source | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | tigervnc | Not affected | ||
| Red Hat Enterprise Linux 6 | tigervnc-server | Not affected | ||
| Red Hat Enterprise Linux 6 | tigervnc-server-applet | Not affected | ||
| Red Hat Enterprise Linux 6 | tigervnc-server-module | Not affected | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-Xdmx | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-Xephyr | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-Xnest | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-Xorg | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-Xvfb | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-common | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-source | Will not fix Out of support scope | ||
| AlmaLinux 9 | tigervnc | Fixed | 1.13.1-8.el9 | ALSA-2024:2298 |
| AlmaLinux 9 | tigervnc-icons | Fixed | 1.13.1-8.el9 | ALSA-2024:2298 |
| AlmaLinux 9 | tigervnc-license | Fixed | 1.13.1-8.el9 | ALSA-2024:2298 |
| AlmaLinux 9 | tigervnc-selinux | Fixed | 1.13.1-8.el9 | ALSA-2024:2298 |
| AlmaLinux 9 | tigervnc-server | Fixed | 1.13.1-8.el9 | ALSA-2024:2298 |
| AlmaLinux 9 | tigervnc-server-minimal | Fixed | 1.13.1-8.el9 | ALSA-2024:2298 |
| AlmaLinux 9 | tigervnc-server-module | Fixed | 1.13.1-8.el9 | ALSA-2024:2298 |
| Alpine Linux 3.24 | xorg-server | Fixed | 21.1.9-r0 | ALPINE-CVE-2023-5574 |
| Alpine Linux 3.23 | xorg-server | Fixed | 21.1.9-r0 | ALPINE-CVE-2023-5574 |
| Alpine Linux 3.22 | xorg-server | Fixed | 21.1.9-r0 | ALPINE-CVE-2023-5574 |
| Alpine Linux 3.21 | xorg-server | Fixed | 21.1.9-r0 | ALPINE-CVE-2023-5574 |
| Alpine Linux 3.20 | xorg-server | Fixed | 21.1.9-r0 | ALPINE-CVE-2023-5574 |
| Alpine Linux 3.19 | xorg-server | Fixed | 21.1.9-r0 | ALPINE-CVE-2023-5574 |
| Alpine Linux 3.18 | xorg-server | Fixed | 21.1.9-r0 | ALPINE-CVE-2023-5574 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Workaround: Starting Xvfb with the -noreset command line option limits the use-after-free from being triggered only at the Xvfb server shutdown. Also, do not start Xvfb as root.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2024:2298 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2024:2298
- https://access.redhat.com/security/cve/CVE-2023-5574
- https://bugzilla.redhat.com/show_bug.cgi?id=2244735
- https://lists.x.org/archives/xorg-announce/2023-October/003430.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.