CVE Vulnerabilities

CVE-2023-5574

Use After Free

Published: Oct 25, 2023 | Modified: Nov 21, 2024
CVSS 3.x
7
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7 IMPORTANT
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

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

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
X_serverX.org1.13.0 (including)*
Red Hat Enterprise Linux 9RedHattigervnc-0:1.13.1-8.el9*
XorgUbuntubionic*
XorgUbuntufocal*
XorgUbuntulunar*
XorgUbuntumantic*
XorgUbuntuoracular*
XorgUbuntuplucky*
XorgUbuntutrusty*
XorgUbuntuxenial*
Xorg-serverUbuntubionic*
Xorg-serverUbuntufocal*
Xorg-serverUbuntulunar*
Xorg-serverUbuntumantic*
Xorg-serverUbuntuoracular*
Xorg-serverUbuntuplucky*
Xorg-serverUbuntutrusty*
Xorg-serverUbuntutrusty/esm*
Xorg-serverUbuntuxenial*
Xorg-server-hwe-16.04Ubuntuxenial*
Xorg-server-hwe-18.04Ubuntubionic*
Xorg-server-lts-utopicUbuntutrusty*
Xorg-server-lts-vividUbuntutrusty*
Xorg-server-lts-wilyUbuntutrusty*
Xorg-server-lts-xenialUbuntutrusty*

Potential Mitigations

References