cve.bz

CVE-2023-5574 Use After Free

7.0 highEPSS 0.6%Fix available

High (7.0). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-06-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-5574 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-5574?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-5574?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-5574 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 90:1.13.1-8.el9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14xorg-serverno fix listedDEBIAN-CVE-2023-5574
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 4 morexorg-serverno fix listedUBUNTU-CVE-2023-5574
UbuntuPro:16.04:LTSxorg-server, xorg-server-hwe-16.04no fix listedUBUNTU-CVE-2023-5574
UbuntuPro:18.04:LTSxorg-server, xorg-server-hwe-18.04no fix listedUBUNTU-CVE-2023-5574
Red Hatenterprise_linux:9::appstreamtigervnc, tigervnc-icons, tigervnc-server and 9 more0:1.13.1-8.el9RHSA-2024:2298
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-ESPOS and 9 morexorg-x11-server1.20.3-150200.22.5.79.1SUSE-SU-2023:4338-1
SUSELinux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Development Tools 15 SP4xorg-x11-server1.20.3-150400.38.29.1SUSE-SU-2023:4292-1
SUSELinux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Development Tools 15 SP5xorg-x11-server21.1.4-150500.7.7.1SUSE-SU-2023:4272-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5xorg-x11-server1.19.6-10.56.1SUSE-SU-2023:4269-1
SUSELinux Enterprise Workstation Extension 15 SP4xwayland21.1.4-150400.3.20.1SUSE-SU-2023:4293-1
SUSELinux Enterprise Workstation Extension 15 SP5xwayland22.1.5-150500.7.5.1SUSE-SU-2023:4306-1
openSUSELeap 15.4xorg-x11-server1.20.3-150200.22.5.79.1SUSE-SU-2023:4338-1
openSUSELeap 15.4xorg-x11-server1.20.3-150400.38.29.1SUSE-SU-2023:4292-1
openSUSELeap 15.4xwayland21.1.4-150400.3.20.1SUSE-SU-2023:4293-1
openSUSELeap 15.5xorg-x11-server21.1.4-150500.7.7.1SUSE-SU-2023:4272-1
openSUSELeap 15.5xwayland22.1.5-150500.7.5.1SUSE-SU-2023:4306-1
openSUSETumbleweedxorg-x11-server21.1.9-1.1openSUSE-SU-2024:13361-1
openSUSETumbleweedxwayland23.2.2-2.1openSUSE-SU-2024:13467-1
AlmaLinux9tigervnc, tigervnc-icons, tigervnc-server and 4 more1.13.1-8.el9ALSA-2024:2298
Alpinev3.18, v3.19, v3.20 and 4 morexorg-server21.1.9-r0ALPINE-CVE-2023-5574
Azure Linux2xorg-x11-server1.20.10-10AZL-31703
Azure Linux3xorg-x11-serverno fix listedAZL-45255
Alpaquita23xorg-server21.1.12-r0BELL-CVE-2023-5574
Alpaquitastreamxorg-server21.1.9-r0BELL-CVE-2023-5574

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Xvfb does not run with root privileges in Red Hat Enterprise Linux 7, 8, and 9, therefore, Red Hat Enterprise Linux 7, 8, and 9 have been rated with a moderate severity.

The xorg-x11-server-Xwayland package as shipped by Red Hat Enterprise Linux 8 and 9 is not affected by this issue as Xwayland does not support multiple protocol screens and is not affected by this vulnerability.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9tigervnc-0:1.13.1-8.el9Fixed 2024-04-30RHSA-2024:2298
Red Hat Enterprise Linux 6tigervncNot affected
Red Hat Enterprise Linux 6xorg-x11-serverOut of support scope
Red Hat Enterprise Linux 7tigervncNot affected
Red Hat Enterprise Linux 7xorg-x11-serverWill not fix
Red Hat Enterprise Linux 8tigervncNot affected
Red Hat Enterprise Linux 8xorg-x11-serverWill not fix
Red Hat Enterprise Linux 8xorg-x11-server-XwaylandNot affected
Red Hat Enterprise Linux 9xorg-x11-serverWill not fix
Red Hat Enterprise Linux 9xorg-x11-server-XwaylandNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-5574.

References

Check your stackJSON