X.Org Server XKB Heap-based Buffer Overflow Privilege Escalation Vulnerability

October 15th, 2026

Vulnerability Details

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 specific flaw exists within the XkbChangeKeycodeRange function. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of root.

Additional Details

X.Org has issued an update to correct this vulnerability. More details can be found at:
https://gitlab.freedesktop.org/xorg/xserver/-/commit/b941a473e06f

Disclosure Timeline

  • 2026-08-25 - Vulnerability reported to vendor
  • 2026-10-15 - Coordinated public release of advisory
  • 2026-10-15 - Advisory Updated

Credit

Anonymous

Back to Advisories