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.
{
"unresolved_ranges": [
{
"cpe": "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "36"
}
]
},
{
"cpe": "cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "37"
}
]
},
{
"cpe": "cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "38"
}
]
}
]
}{
"cpe": "cpe:2.3:a:x.org:x_server:*:*:*:*:*:*:*:*",
"source": [
"CPE_FIELD",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "21.1.8"
}
]
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-1393.json"
[
{
"signature_type": "Function",
"target": {
"function": "compDestroyWindow",
"file": "composite/compwindow.c"
},
"deprecated": false,
"digest": {
"length": 657.0,
"function_hash": "160585413429378803102572218228695144404"
},
"id": "CVE-2023-1393-1b85dd2e",
"source": "https://gitlab.freedesktop.org/xorg/xserver@26ef545b3502f61ca722a7a3373507e88ef64110",
"signature_version": "v1"
},
{
"signature_type": "Line",
"target": {
"file": "composite/compwindow.c"
},
"deprecated": false,
"source": "https://gitlab.freedesktop.org/xorg/xserver@26ef545b3502f61ca722a7a3373507e88ef64110",
"id": "CVE-2023-1393-2192cd90",
"digest": {
"threshold": 0.9,
"line_hashes": [
"103254248831506398757703880392320180491",
"339826436945346044112941835826143984965",
"202660166280233479096158750827021754636",
"213413363971156131415867680387795205297"
]
},
"signature_version": "v1"
}
]
"2026-04-12T06:36:31Z"