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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1393.json",
"cna_assigner": "redhat",
"cwe_ids": [
"CWE-416"
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "21.1.8"
}
],
"cpe": "cpe:2.3:a:x.org:x_server:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
]
}"2026-06-15T20:28:03Z"
[
{
"digest": {
"function_hash": "160585413429378803102572218228695144404",
"length": 657.0
},
"signature_version": "v1",
"id": "CVE-2023-1393-1b85dd2e",
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "composite/compwindow.c",
"function": "compDestroyWindow"
},
"source": "https://gitlab.freedesktop.org/xorg/xserver@26ef545b3502f61ca722a7a3373507e88ef64110"
},
{
"digest": {
"line_hashes": [
"103254248831506398757703880392320180491",
"339826436945346044112941835826143984965",
"202660166280233479096158750827021754636",
"213413363971156131415867680387795205297"
],
"threshold": 0.9
},
"signature_version": "v1",
"id": "CVE-2023-1393-2192cd90",
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "composite/compwindow.c"
},
"source": "https://gitlab.freedesktop.org/xorg/xserver@26ef545b3502f61ca722a7a3373507e88ef64110"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-1393.json"