CVE-2023-5574 Xorg-x11-server: use-after-free bug in damagedestroy
A use-after-free in Xvfb during shutdown in Zaphod mode allows local attackers to escalate privileges or cause denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-5574?
CVE-2023-5574 is a high-severity use after free vulnerability in Redhat Enterprise Linux, published on 25 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-416
Which versions are affected by CVE-2023-5574?
It affects 2 products.
Linux distribution packages (1)
xwayland openSUSE:Tumbleweed | All versions | 23.2.2-2.1 |
Products include Redhat Enterprise Linux, X.org X Server.
How do I fix CVE-2023-5574?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2023-5574 being exploited?
There is no known exploitation of CVE-2023-5574 in the wild and no public exploit code.
Other vulnerabilities in Redhat Enterprise Linux
- CVE-2018-14667 Red Hat JBoss RichFaces Framework Expression Language Injection
- CVE-2021-20325 Missing fixes for CVE-2021-40438 and CVE-2021-26691 in the versions of httpd, as shipped in Red Hat Enterprise Linux 8.5.0, causes a securit
- CVE-2018-25011 Memory corruption in libwebp
- CVE-2018-25014 Other in libwebp
- CVE-2014-3585 Supply chain in redhat-upgrade-tool
Sources
Also known as AZL-31703, AZL-45255, BELL-CVE-2023-5574, DEBIAN-CVE-2023-5574, ECHO-afeb-e40e-c22f, GHSA-79x6-r5x5-fvqw and 9 more.