An out-of-bounds write flaw was found in the X.Org X server and Xwayland in DRIGetBuffers/DRIGetBuffersWithFormat. A client that requests multiple DRI2BufferBackLeft attachments and one DRI2BufferFrontLeft can trigger an out-of-bounds heap write. 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-787"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50264.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "21.1.23"
},
{
"fixed": "24.1.12"
},
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": [
"CPE_RANGE",
"CPE_STRING",
"REFERENCES"
],
"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:*:*:*:*:*:*:*"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-50264.json"
[
{
"signature_type": "Line",
"source": "https://gitlab.freedesktop.org/xorg/xserver@339c279514326134b0878fc23ce6e9520440ce7f",
"deprecated": false,
"id": "CVE-2026-50264-491bf00f",
"signature_version": "v1",
"target": {
"file": "hw/xfree86/dri2/dri2.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"297112792290904602644888778669495454720",
"330289514824469994081201747266004895762",
"97032104450033985776297921584044577041",
"109230967511801540401343779569058219065",
"1019301618257969672046360089077559234",
"54776618040295564930877259211629734235",
"60325906892556560433973100935750303887",
"868558710594283455364349593718665089",
"49279420684199724378323863574297870377",
"65904884392927776815848850575799517428",
"232731246414994631801460978650227278018",
"322383630104674118770187109261737793159",
"17537867570138085752935126993597836114",
"176404608047015387164536726342549520648",
"7398620469875400707014101030785641971",
"258711250138464909697056944886817449500",
"31890938645713522799424534504429335032",
"44775285084384776221153946499677867841",
"164381845849604020705176339381797116078",
"235502133809696765442318175560566319227",
"124690073147458935463480770901484502635",
"275431563596868115009533967185772409474",
"48356549252247732302942627982463050031",
"277821077624352220899554122464274381987",
"298202072927150487708718683471818110360",
"94037283485731553482520089455673056989",
"79698331484379955550542814930905965789",
"155028332588162220650128575410383733779",
"183975650571758734337638237790406946736",
"108129837945897755710266515648776648681",
"332077249996537164809579786529849341950",
"275577827473821413106710696239809607494",
"246570614658161051008922165707441260244",
"332357970336495090921145650760575056951",
"133678095347467850626155181059044962627",
"330924238190273039356113434086633034121",
"139060810209927507768461044507283433284",
"17530964017710294939290010416720522488",
"275231212628067207173314369509158539082",
"209734147629566407140409029797197472461",
"278860209069032240003734664214164647576",
"113888079853336451349742180742220801095",
"84133425693430511245789583250193264216",
"1591944608185429181318012605144669695",
"65533322139816073319497422747983759082",
"285651393117370011168060770682983231980"
]
}
},
{
"digest": {
"function_hash": "94829926601429583588281653798347890887",
"length": 2184.0
},
"source": "https://gitlab.freedesktop.org/xorg/xserver@339c279514326134b0878fc23ce6e9520440ce7f",
"deprecated": false,
"id": "CVE-2026-50264-bacbcf05",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "do_get_buffers",
"file": "hw/xfree86/dri2/dri2.c"
}
}
]
"2026-08-12T16:25:37Z"