{"id":"CVE-2023-1393","details":"A flaw was found in X.Org Server Overlay Window. A Use-After-Free may lead to local privilege escalation. If a client explicitly destroys the compositor overlay window (aka COW), the Xserver would leave a dangling pointer to that window in the CompScreen structure, which will trigger a use-after-free later.","modified":"2026-10-22T15:57:58.861796662Z","published":"2023-03-30T00:00:00Z","related":["ALSA-2023:1551","ALSA-2023:1592","ALSA-2023:6340","ALSA-2023:6341","ALSA-2023:6916","ALSA-2023:6917","SUSE-SU-2023:1674-1","SUSE-SU-2023:1675-1","SUSE-SU-2023:1677-1","SUSE-SU-2023:1678-1","SUSE-SU-2023:1679-1","SUSE-SU-2023:1680-1","SUSE-SU-2023:1716-1","openSUSE-SU-2024:12827-1","openSUSE-SU-2024:12834-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1393.json","cna_assigner":"redhat","cwe_ids":["CWE-416"]},"references":[{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2023/03/29/1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1393.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BPNQYHUI63DB5FHK6EOI3Z4C6YQZGZKI/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H3EVO3OQV6T4BSABWZ2TU3PY5TJTEQZ2/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MEHSYYFGBN3G4RS2HJXKQ5NBMOAZ5F2F/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NOYATGGPMT3COC7ELAJW5TG2PVS3AFR2/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PSAAGI5V77FQXIT5PP4URP6BYQVCK5U5/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QHJMSMK7G4GPLMKIGKXIOL2RTKU5VFWE/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SW2NRC3V53PIBXFPFBVWCOM2MDDILWQS/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SWFUDSBSABRHQOX6TIQ5O3SNPFTPFQQP/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-1393"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202305-30"},{"type":"FIX","url":"https://gitlab.freedesktop.org/xorg/xserver/-/commit/26ef545b3502f61ca722a7a3373507e88ef64110"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.freedesktop.org/xorg/xserver","events":[{"introduced":"7c791b15504cc86a929acaa88161f012cdbba59f"},{"fixed":"26ef545b3502f61ca722a7a3373507e88ef64110"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"xorg-server 21.1.8"},{"last_affected":"xorg-server 21.1.8"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"range":[{"fixed":"26ef545b3502f61ca722a7a3373507e88ef64110"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["xorg-server 21.1.8"],"database_specific":{"vanir_signatures_modified":"2026-10-22T15:57:58Z","source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-1393.json","vanir_signatures":[{"source":"https://gitlab.freedesktop.org/xorg/xserver@26ef545b3502f61ca722a7a3373507e88ef64110","target":{"file":"composite/compwindow.c","function":"compDestroyWindow"},"deprecated":false,"digest":{"function_hash":"160585413429378803102572218228695144404","length":657},"id":"CVE-2023-1393-1b85dd2e","signature_type":"Function","signature_version":"v1"},{"signature_version":"v1","source":"https://gitlab.freedesktop.org/xorg/xserver@26ef545b3502f61ca722a7a3373507e88ef64110","target":{"file":"composite/compwindow.c"},"deprecated":false,"digest":{"line_hashes":["103254248831506398757703880392320180491","339826436945346044112941835826143984965","202660166280233479096158750827021754636","213413363971156131415867680387795205297"],"threshold":0.9},"id":"CVE-2023-1393-2192cd90","signature_type":"Line"}]}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}