{"id":"CVE-2023-0494","details":"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.","modified":"2026-05-15T11:53:22.693502735Z","published":"2023-03-27T00:00:00Z","related":["ALSA-2023:0622","ALSA-2023:0662","ALSA-2023:2248","ALSA-2023:2249","ALSA-2023:2805","ALSA-2023:2806","SUSE-SU-2023:0282-1","SUSE-SU-2023:0284-1","SUSE-SU-2023:0285-1","SUSE-SU-2023:0286-1","SUSE-SU-2023:0287-1","SUSE-SU-2023:0288-1","SUSE-SU-2023:0289-1","openSUSE-SU-2024:12664-1","openSUSE-SU-2024:12665-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0494.json","cwe_ids":["CWE-416"],"cna_assigner":"redhat"},"references":[{"type":"WEB","url":"https://lists.x.org/archives/xorg-announce/2023-February/003320.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0494.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0494"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202305-30"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2165995"},{"type":"FIX","url":"https://gitlab.freedesktop.org/xorg/xserver/-/commit/0ba6d8c37071131a49790243cdac55392ecf71ec"}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}