A use-after-free flaw was found in the X.Org X server and Xwayland in FreeCounter(). A client that sets up multiple SyncCounters and awaits on those triggers can trigger a use-after-free when destroying those counters via a second client connection. This may be used to crash the server, or for privilege escalation if the X server runs as root.
{
"cna_assigner": "redhat",
"cwe_ids": [
"CWE-416"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50260.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0:24.1.9-4.el10_2.2"
},
{
"fixed": "0:24.1.5-6.el10_0.1"
},
{
"fixed": "0:1.1.0-25.el6_10.18"
},
{
"fixed": "0:1.20.4-35.el7_9"
},
{
"fixed": "0:1.8.0-36.el7_9.5"
},
{
"fixed": "0:21.1.3-20.el8_10.2"
},
{
"fixed": "0:1.20.11-28.el8_10.2"
},
{
"fixed": "0:1.15.0-10.el8_10"
},
{
"fixed": "0:1.20.10-5.el8_4"
},
{
"fixed": "0:1.11.0-8.el8_4.16"
},
{
"fixed": "0:1.20.10-5.el8_4"
},
{
"fixed": "0:1.11.0-8.el8_4.16"
},
{
"fixed": "0:1.20.11-8.el8_6"
},
{
"fixed": "0:21.1.3-2.el8_6.7"
},
{
"fixed": "0:1.12.0-6.el8_6.18"
},
{
"fixed": "0:1.20.11-8.el8_6"
},
{
"fixed": "0:21.1.3-2.el8_6.7"
},
{
"fixed": "0:1.12.0-6.el8_6.18"
},
{
"fixed": "0:1.20.11-19.el8_8"
},
{
"fixed": "0:21.1.3-13.el8_8.1"
},
{
"fixed": "0:1.12.0-15.el8_8.18"
},
{
"fixed": "0:1.20.11-19.el8_8"
},
{
"fixed": "0:21.1.3-13.el8_8.1"
},
{
"fixed": "0:1.12.0-15.el8_8.18"
},
{
"fixed": "0:24.1.9-4.el9_8.2"
},
{
"fixed": "0:1.20.11-34.el9_8.2"
},
{
"fixed": "0:1.15.0-7.el9_8.2"
},
{
"fixed": "0:1.20.11-21.el9_2"
},
{
"fixed": "0:21.1.3-10.el9_2.1"
},
{
"fixed": "0:1.12.0-14.el9_2.15"
},
{
"fixed": "0:1.20.11-29.el9_4"
},
{
"fixed": "0:22.1.9-8.el9_4.1"
},
{
"fixed": "0:1.13.1-8.el9_4.10"
},
{
"fixed": "0:1.20.11-34.el9_6"
},
{
"fixed": "0:23.2.7-6.el9_6.1"
},
{
"fixed": "0:1.14.1-11.el9_6"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
]
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:x.org:x_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "21.1.23"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:x.org:xwayland:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "24.1.12"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "f5abfb61994471023d8c6470428c8e30c411cc0b"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-50260.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"283804441557171073667499074421030927415",
"182549721200164195479375174218594905156",
"203003210501200808268159698036969106879",
"310186664132389271424768665214327037518",
"280716649147647034883147104356387738005",
"141496341328698865648955577766256001656"
],
"threshold": 0.9
},
"id": "CVE-2026-50260-346119bf",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://gitlab.freedesktop.org/xorg/xserver@f5abfb61994471023d8c6470428c8e30c411cc0b",
"target": {
"file": "miext/sync/misync.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "202232987211383363144987899258979427558",
"length": 368
},
"id": "CVE-2026-50260-b182fffd",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://gitlab.freedesktop.org/xorg/xserver@f5abfb61994471023d8c6470428c8e30c411cc0b",
"target": {
"file": "Xext/sync.c",
"function": "FreeAwait"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"176267992055391940230377786184452293629",
"123975067380831476568169779536756125924",
"306148098665109981298698131196519568379",
"310522931384027268965860231555596141885",
"280716649147647034883147104356387738005",
"241209420129595144222193617590358857211",
"91158980354227693593649323354400958934",
"305606590988927307651712599625726433279",
"282539212462142276004362718184057301154",
"138935008696749199424640175563608842263",
"291418673052395209078296582528320578555",
"41140863594067517935229180995085604097"
],
"threshold": 0.9
},
"id": "CVE-2026-50260-c53a30c0",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://gitlab.freedesktop.org/xorg/xserver@f5abfb61994471023d8c6470428c8e30c411cc0b",
"target": {
"file": "Xext/sync.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "337022973752392151262139138040447899297",
"length": 623
},
"id": "CVE-2026-50260-ecbc8a52",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://gitlab.freedesktop.org/xorg/xserver@f5abfb61994471023d8c6470428c8e30c411cc0b",
"target": {
"file": "Xext/sync.c",
"function": "FreeCounter"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "234601301309514231505303410963569289798",
"length": 448
},
"id": "CVE-2026-50260-f207aaf3",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://gitlab.freedesktop.org/xorg/xserver@f5abfb61994471023d8c6470428c8e30c411cc0b",
"target": {
"file": "miext/sync/misync.c",
"function": "miSyncDestroyFence"
}
}
]
"2026-10-21T10:16:43Z"