CVEfocus › CVE database › CVE-2023-5574

CVE-2023-5574Xorg-x11-server: use-after-free bug in damagedestroy

CVSS 7.0 HighEPSS 0.3% (higher than 16% of CVEs)Published 2023-10-25Updated 2026-11-23Assigner: redhat

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.

CWE-416

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

21Fixed
8Fix pending
3Under investigation
49Will not fix
31Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10xorg-serverFix pendingUBUNTU-CVE-2023-5574
Ubuntu 26.04xorgNot affected
vulnerable_code_not_present
Ubuntu 26.04xorg-serverUnder investigationUBUNTU-CVE-2023-5574
Ubuntu 26.04xwaylandNot affected
vulnerable_code_not_present
Ubuntu 25.10xorgNot affected
vulnerable_code_not_present
Ubuntu 25.10xorg-serverWill 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.10xwaylandNot affected
vulnerable_code_not_present
Ubuntu 24.04xorgNot affected
vulnerable_code_not_present
Ubuntu 24.04xorg-serverUnder investigationUBUNTU-CVE-2023-5574
Ubuntu 24.04xwaylandNot affected
vulnerable_code_not_present
Ubuntu 22.04xorgNot affected
vulnerable_code_not_present
Ubuntu 22.04xorg-serverUnder investigationUBUNTU-CVE-2023-5574
Ubuntu 22.04xwaylandNot affected
vulnerable_code_not_present
Ubuntu 20.04xorgWill 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.04xorg-serverFix pendingUBUNTU-CVE-2023-5574
Ubuntu 18.04xorgWill 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.04xorg-hwe-18.04Not affected
vulnerable_code_not_present
Ubuntu 18.04xorg-serverFix pendingUBUNTU-CVE-2023-5574
Ubuntu 18.04xorg-server-hwe-18.04Fix pendingUBUNTU-CVE-2023-5574
Ubuntu 16.04xorgWill 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.04xorg-hwe-16.04Not affected
vulnerable_code_not_present
Ubuntu 16.04xorg-serverWill 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.04xorg-server-hwe-16.04Will 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.04xorgWill 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.04xorg-serverFix pendingUBUNTU-CVE-2023-5574
Ubuntu 14.04xorg-server-lts-utopicWill 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.04xorg-server-lts-vividWill 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.04xorg-server-lts-wilyWill 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.04xorg-server-lts-xenialWill 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 14xorg-serverFix pendingDEBIAN-CVE-2023-5574
Debian 13xorg-serverFix pendingDEBIAN-CVE-2023-5574
Debian 12xorg-serverFix pendingDEBIAN-CVE-2023-5574
Red Hat Enterprise Linux 9tigervncFixed0:1.13.1-8.el9RHSA-2024:2298
Red Hat Enterprise Linux 9tigervnc-iconsFixed0:1.13.1-8.el9RHSA-2024:2298
Red Hat Enterprise Linux 9tigervnc-licenseFixed0:1.13.1-8.el9RHSA-2024:2298
Red Hat Enterprise Linux 9tigervnc-selinuxFixed0:1.13.1-8.el9RHSA-2024:2298
Red Hat Enterprise Linux 9tigervnc-serverFixed0:1.13.1-8.el9RHSA-2024:2298
Red Hat Enterprise Linux 9tigervnc-server-minimalFixed0:1.13.1-8.el9RHSA-2024:2298
Red Hat Enterprise Linux 9tigervnc-server-moduleFixed0:1.13.1-8.el9RHSA-2024:2298
Red Hat Enterprise Linux 9xorg-x11-serverWill not fix
Will not fix
Red Hat Enterprise Linux 9xorg-x11-server-XdmxWill not fix
Will not fix
Red Hat Enterprise Linux 9xorg-x11-server-XephyrWill not fix
Will not fix
Red Hat Enterprise Linux 9xorg-x11-server-XnestWill not fix
Will not fix
Red Hat Enterprise Linux 9xorg-x11-server-XorgWill not fix
Will not fix
Red Hat Enterprise Linux 9xorg-x11-server-XvfbWill not fix
Will not fix
Red Hat Enterprise Linux 9xorg-x11-server-XwaylandNot affected
Red Hat Enterprise Linux 9xorg-x11-server-Xwayland-develNot affected
Red Hat Enterprise Linux 9xorg-x11-server-commonWill not fix
Will not fix
Red Hat Enterprise Linux 9xorg-x11-server-develWill not fix
Will not fix
Red Hat Enterprise Linux 9xorg-x11-server-sourceWill not fix
Will not fix
Red Hat Enterprise Linux 8tigervncNot affected
Red Hat Enterprise Linux 8tigervnc-iconsNot affected
Red Hat Enterprise Linux 8tigervnc-licenseNot affected
Red Hat Enterprise Linux 8tigervnc-selinuxNot affected
Red Hat Enterprise Linux 8tigervnc-serverNot affected
Red Hat Enterprise Linux 8tigervnc-server-appletNot affected
Red Hat Enterprise Linux 8tigervnc-server-minimalNot affected
Red Hat Enterprise Linux 8tigervnc-server-moduleNot affected
Red Hat Enterprise Linux 8xorg-x11-serverWill not fix
Will not fix
Red Hat Enterprise Linux 8xorg-x11-server-XdmxWill not fix
Will not fix
Red Hat Enterprise Linux 8xorg-x11-server-XephyrWill not fix
Will not fix
Red Hat Enterprise Linux 8xorg-x11-server-XnestWill not fix
Will not fix
Red Hat Enterprise Linux 8xorg-x11-server-XorgWill not fix
Will not fix
Red Hat Enterprise Linux 8xorg-x11-server-XvfbWill not fix
Will not fix
Red Hat Enterprise Linux 8xorg-x11-server-XwaylandWill not fix
Will not fix
Red Hat Enterprise Linux 8xorg-x11-server-commonWill not fix
Will not fix
Red Hat Enterprise Linux 8xorg-x11-server-develWill not fix
Will not fix
Red Hat Enterprise Linux 8xorg-x11-server-sourceWill not fix
Will not fix
Red Hat Enterprise Linux 7tigervncNot affected
Red Hat Enterprise Linux 7tigervnc-iconsNot affected
Red Hat Enterprise Linux 7tigervnc-licenseNot affected
Red Hat Enterprise Linux 7tigervnc-serverNot affected
Red Hat Enterprise Linux 7tigervnc-server-appletNot affected
Red Hat Enterprise Linux 7tigervnc-server-minimalNot affected
Red Hat Enterprise Linux 7tigervnc-server-moduleNot affected
Red Hat Enterprise Linux 7xorg-x11-serverWill not fix
Will not fix
Red Hat Enterprise Linux 7xorg-x11-server-XdmxWill not fix
Will not fix
Red Hat Enterprise Linux 7xorg-x11-server-XephyrWill not fix
Will not fix
Red Hat Enterprise Linux 7xorg-x11-server-XnestWill not fix
Will not fix
Red Hat Enterprise Linux 7xorg-x11-server-XorgWill not fix
Will not fix
Red Hat Enterprise Linux 7xorg-x11-server-XvfbWill not fix
Will not fix
Red Hat Enterprise Linux 7xorg-x11-server-XwaylandWill not fix
Will not fix
Red Hat Enterprise Linux 7xorg-x11-server-commonWill not fix
Will not fix
Red Hat Enterprise Linux 7xorg-x11-server-develWill not fix
Will not fix
Red Hat Enterprise Linux 7xorg-x11-server-sourceWill not fix
Will not fix
Red Hat Enterprise Linux 6tigervncNot affected
Red Hat Enterprise Linux 6tigervnc-serverNot affected
Red Hat Enterprise Linux 6tigervnc-server-appletNot affected
Red Hat Enterprise Linux 6tigervnc-server-moduleNot affected
Red Hat Enterprise Linux 6xorg-x11-serverWill not fix
Out of support scope
Red Hat Enterprise Linux 6xorg-x11-server-XdmxWill not fix
Out of support scope
Red Hat Enterprise Linux 6xorg-x11-server-XephyrWill not fix
Out of support scope
Red Hat Enterprise Linux 6xorg-x11-server-XnestWill not fix
Out of support scope
Red Hat Enterprise Linux 6xorg-x11-server-XorgWill not fix
Out of support scope
Red Hat Enterprise Linux 6xorg-x11-server-XvfbWill not fix
Out of support scope
Red Hat Enterprise Linux 6xorg-x11-server-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6xorg-x11-server-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6xorg-x11-server-sourceWill not fix
Out of support scope
AlmaLinux 9tigervncFixed1.13.1-8.el9ALSA-2024:2298
AlmaLinux 9tigervnc-iconsFixed1.13.1-8.el9ALSA-2024:2298
AlmaLinux 9tigervnc-licenseFixed1.13.1-8.el9ALSA-2024:2298
AlmaLinux 9tigervnc-selinuxFixed1.13.1-8.el9ALSA-2024:2298
AlmaLinux 9tigervnc-serverFixed1.13.1-8.el9ALSA-2024:2298
AlmaLinux 9tigervnc-server-minimalFixed1.13.1-8.el9ALSA-2024:2298
AlmaLinux 9tigervnc-server-moduleFixed1.13.1-8.el9ALSA-2024:2298
Alpine Linux 3.24xorg-serverFixed21.1.9-r0ALPINE-CVE-2023-5574
Alpine Linux 3.23xorg-serverFixed21.1.9-r0ALPINE-CVE-2023-5574
Alpine Linux 3.22xorg-serverFixed21.1.9-r0ALPINE-CVE-2023-5574
Alpine Linux 3.21xorg-serverFixed21.1.9-r0ALPINE-CVE-2023-5574
Alpine Linux 3.20xorg-serverFixed21.1.9-r0ALPINE-CVE-2023-5574
Alpine Linux 3.19xorg-serverFixed21.1.9-r0ALPINE-CVE-2023-5574
Alpine Linux 3.18xorg-serverFixed21.1.9-r0ALPINE-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.

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:

References

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.