An out-of-bounds read flaw was found in the X.Org X server and Xwayland in _glXDispChangeDrawableAttributes(). A wrong size validation check can read a client-controlled number of bytes, exceeding the request buffer, leading to information disclosure. A write path also exists but requires byte-swapped clients which is disabled by default.
{
"cwe_ids": [
"CWE-125"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50262.json",
"cna_assigner": "redhat"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "21.1.23"
},
{
"fixed": "24.1.12"
},
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"cpe": [
"cpe:2.3:a:x.org:x_server:*:*:*:*:*:*:*:*",
"cpe:2.3:a:x.org:xwayland:*:*:*:*:*:*:*:*",
"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*"
],
"source": [
"CPE_RANGE",
"CPE_STRING",
"REFERENCES"
]
}[
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 607.0,
"function_hash": "337823440673555809673235982485047194654"
},
"source": "https://gitlab.freedesktop.org/xorg/xserver@6d459e4daf715bea8abdafa8fb130be2f8a1d145",
"id": "CVE-2026-50262-21a72d19",
"target": {
"function": "__glXDispSwap_ChangeDrawableAttributes",
"file": "glx/glxcmdsswap.c"
}
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"314941157311566102858532570615919702078",
"25431947025853286958043397180701641403",
"277474742258934529213566089538664858275",
"8540116371128976679224005019566170853",
"59925167872029689382594595938285188973",
"204841025301908160873785730762466180157",
"164102030167567817768651962744088432945",
"276189775054592625071922857762206671211",
"20192578811593238329053359225122600841",
"267630896780223581293939379964571373877",
"217959892535251460003421966202732632952",
"61162982866860950961818164503280639810",
"56148691329774058057171434899974829461",
"332695998404402607694407759267482259102",
"172733474400934478643360900168738436181",
"85996758324383419640270949311529019658",
"128343278385068447666216863609191089829",
"2125711494981184912524083787284132063",
"237595033885843629434109160453855665015",
"158824882907527400098473559013434971614",
"132010271090069369116354100070194510330",
"169601090112700168425598182537800219274",
"315930455310053563812643379844228033213",
"78855028910210670447758533589415598109",
"267042158487724752683307508016427208058",
"108691194910981797360235040468495147297"
],
"threshold": 0.9
},
"source": "https://gitlab.freedesktop.org/xorg/xserver@6d459e4daf715bea8abdafa8fb130be2f8a1d145",
"id": "CVE-2026-50262-602d745b",
"target": {
"file": "glx/glxcmds.c"
}
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"25370179351830189005839504491750663307",
"254276641879185278800192542566741044695",
"221001697288940274544222276176940021859",
"294299135003530668677725140428931945677",
"112126078366595111797935394024003736486",
"217307584156738970564740685292519668451",
"337913872407959129023164285293705493680",
"338108314324979132020562658127225553394",
"124012932153972695139761074688724311150",
"161614641573444198879935068520507463625",
"207097315254363272240005818866156202358",
"313973013831745177428832493897486107801",
"241251848711991134273467910826846334563",
"291804667163096719435690442313760654739",
"37693273894014429580367382158951118756",
"217672628789864441977790233982200766171",
"214102487584115646929917551254744026563",
"162511620517698364213188482077045647292",
"85673214598927690623273137244108739009",
"256189422928725096962218300146731389809",
"152940464489440873838356201744660067966",
"268145474161076745782542365706659728943"
],
"threshold": 0.9
},
"source": "https://gitlab.freedesktop.org/xorg/xserver@6d459e4daf715bea8abdafa8fb130be2f8a1d145",
"id": "CVE-2026-50262-8949b596",
"target": {
"file": "glx/glxcmdsswap.c"
}
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 512.0,
"function_hash": "27160199950307947393714801745170591696"
},
"source": "https://gitlab.freedesktop.org/xorg/xserver@6d459e4daf715bea8abdafa8fb130be2f8a1d145",
"id": "CVE-2026-50262-c0d7b111",
"target": {
"function": "__glXDisp_ChangeDrawableAttributes",
"file": "glx/glxcmds.c"
}
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-50262.json"
"2026-07-15T08:26:51Z"