# ZDI-26-901: X.Org Server ProcDRI2GetBuffers Heap-based Buffer Overflow Privilege Escalation Vulnerability

DevFeed: [ZDI-26-901: X.Org Server ProcDRI2GetBuffers Heap-based Buffer Overflow Privilege Escalation Vulnerability](<https://devfeed.tech/articles/zdi-26-901-x-org-server-procdri2getbuffers-heap-based-buffer-overflow-privilege-escalation-vulnerability-127853.md>)

Original publisher: [Read original article](<http://www.zerodayinitiative.com/advisories/ZDI-26-901/>)

Published: 2026-11-10T06:00:00Z

Content type: news

Language: en

Sources: [Zero Day Initiative](<https://devfeed.tech/sources/zero-day-initiative.md>)

Topics: [heap overflow](<https://devfeed.tech/topics/heap-overflow.md>)

Tags: [buffer](<https://devfeed.tech/tags/buffer.md>), [buffer-overflow](<https://devfeed.tech/tags/buffer-overflow.md>), [code](<https://devfeed.tech/tags/code.md>), [heap](<https://devfeed.tech/tags/heap.md>), [local](<https://devfeed.tech/tags/local.md>), [privilege-escalation](<https://devfeed.tech/tags/privilege-escalation.md>), [root](<https://devfeed.tech/tags/root.md>), [server](<https://devfeed.tech/tags/server.md>), [validation](<https://devfeed.tech/tags/validation.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>), [x-org](<https://devfeed.tech/tags/x-org.md>)

## AI overview

A heap-based buffer overflow in X.Org Server's `do_get_buffers` function can let a local attacker escalate privileges to root and execute arbitrary code. Exploitation requires prior ability to run low-privileged code on the affected system. The flaw stems from failing to validate the length of user-supplied data before copying it into a heap buffer. ZDI rates it CVSS 7.8; the assigned identifier is CVE-2026-50264.

## Source excerpt

This vulnerability allows local attackers to escalate privileges on affected installations of X.Org Server. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2026-50264.