
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-50264 is an out-of-bounds heap write vulnerability in the X.Org X server and Xwayland affecting the DRIGetBuffers/DRIGetBuffersWithFormat functions in the DRI2 extension. A local X client can trigger the flaw by requesting multiple DRI2BufferBackLeft attachments combined with one DRI2BufferFrontLeft, causing a heap write beyond the intended buffer boundary. Affected versions include X.Org X server up to and including 21.1.22 and Xwayland up to and including 24.1.9; fixed versions are xorg-server 21.1.23 and xwayland 24.1.12. The vulnerability was identified by Peter Hutterer of Red Hat and disclosed on June 5, 2026. It carries a CVSS v3.1 base score of 7.8 (High) (GitHub Advisory, Red Hat Bugzilla).
The root cause is an out-of-bounds write (CWE-787) in the DRI2 buffer allocation logic within DRIGetBuffers and DRIGetBuffersWithFormat. When a client requests an unexpected combination of buffer attachments — specifically multiple DRI2BufferBackLeft entries alongside a DRI2BufferFrontLeft — the server fails to properly bound-check the write operation, resulting in a heap buffer overflow. The attack vector is local: any unprivileged X client with the ability to connect to the X server can send the malformed DRI2 request without requiring elevated privileges or user interaction. The upstream fix is available as a single commit to the xorg/xserver repository (xorg commit, Red Hat Bugzilla).
Successful exploitation can result in a server crash (denial of service) or, if the X server is running as root (a common configuration on older or traditional Linux setups), full privilege escalation to root-level code execution. The confidentiality, integrity, and availability impacts are all rated High, meaning an attacker could read sensitive memory, corrupt data, or completely take over the affected system. In environments where the X server runs with elevated privileges, this vulnerability could serve as a stepping stone for broader system compromise or lateral movement (GitHub Advisory, Red Hat Bugzilla).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the time of disclosure. The EPSS score is approximately 0.012–0.013%, placing it in the 2nd percentile for near-term exploitation likelihood. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires local access to a system running a vulnerable X server, limiting the attack surface compared to network-exploitable flaws (GitHub Advisory).
DRI2GetBuffers or DRI2GetBuffersWithFormat request that specifies multiple DRI2BufferBackLeft attachment types along with one DRI2BufferFrontLeft attachment, exceeding the expected buffer allocation bounds./var/log/Xorg.0.log or systemd journal entries showing the X server process terminating abnormally; repeated DRI2 protocol errors logged by the X server.core or Xorg.core) in the X server working directory or /tmp; new files or modified SUID binaries created by the X server's user account following a crash.The upstream fixes are available in xorg-server 21.1.23 and xwayland 24.1.12; users should upgrade to these versions as the primary remediation (xorg commit, xorg-announce). Red Hat has issued security errata addressing this vulnerability for RHEL 8 (RHSA-2026:26562), RHEL 9 (RHSA-2026:26590 and RHSA-2026:26610), and Amazon Linux 2 (ALAS2-2026-3336) (Red Hat RHSA-26562, Red Hat RHSA-26590). As a workaround where patching is not immediately possible, consider running the X server without root privileges (using rootless Xorg or Wayland compositors) to limit the privilege escalation impact to a server crash only.
The vulnerability was identified internally by Peter Hutterer of Red Hat's security team and coordinated through Red Hat's PSIRT process (PSIRTSUPT-16950) before public disclosure (Red Hat Bugzilla). Red Hat moved quickly to issue patches for RHEL 8 and RHEL 9 within approximately two weeks of the CVE's publication. No notable independent researcher commentary or significant social media discussion has been observed beyond standard vulnerability tracking and aggregation sites.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."