What’s Vulnerable › Vulnerabilities
CVE-2023-0494
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-03-27 · updated 2026-06-17
- Weakness: CWE-416
Description
A vulnerability was found in X.Org. This issue occurs due to a dangling pointer in DeepCopyPointerClasses that can be exploited by ProcXkbSetDeviceInfo() and ProcXkbGetDeviceInfo() to read and write into freed memory. This can lead to local privilege elevation on systems where the X server runs privileged and remote code execution for ssh X forwarding sessions.
Affected products
- Fedoraproject Fedora: 36, 37
- Red Hat Enterprise Linux: 8.0, 8.1, 9.0
- RedHat Enterprise Linux Aus: 8.4, 8.6
- RedHat Enterprise Linux Desktop: 7.0
- RedHat Enterprise Linux Eus: 8.4, 8.6, 9.0
- RedHat Enterprise Linux For Ibm Z Systems: 7.0, 8.0
- RedHat Enterprise Linux For Ibm Z Systems Eus: 8.4, 8.6
- RedHat Enterprise Linux For Power Big Endian: 7.0
- RedHat Enterprise Linux For Power Little Endian: 7.0, 8.0, 9.0
- RedHat Enterprise Linux For Power Little Endian Eus: 8.4, 8.6
- RedHat Enterprise Linux For Scientific Computing: 7.0
- RedHat Enterprise Linux Server: 7.0
- RedHat Enterprise Linux Server Aus: 8.2
- RedHat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions: 8.1, 8.2, 8.4, 8.6, 9.0
- RedHat Enterprise Linux Server Tus: 8.2, 8.4, 8.6
- RedHat Enterprise Linux Server Update Services For Sap Solutions: 8.2
- RedHat Enterprise Linux Server Workstation: 7.0
- xorg-x11-server: before 21.1.7 — fixed in 21.1.7
How to fix
Upgrade to a fixed version: xorg-x11-server 21.1.7. Check the vendor advisory for mitigations.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2165995
- https://gitlab.freedesktop.org/xorg/xserver/-/commit/0ba6d8c37071131a49790243cdac55392ecf71ec
- https://lists.x.org/archives/xorg-announce/2023-February/003320.html
- https://security.gentoo.org/glsa/202305-30
- https://bugzilla.redhat.com/show_bug.cgi?id=2165995
- https://gitlab.freedesktop.org/xorg/xserver/-/commit/0ba6d8c37071131a49790243cdac55392ecf71ec
- https://lists.x.org/archives/xorg-announce/2023-February/003320.html
- https://security.gentoo.org/glsa/202305-30
Get alerted when CVE-2023-0494 or the next vulnerability affects your stack