ZDI-20-1418: X.Org Server XkbSelectEvents Integer Underflow Privilege Escalation Vulnerability

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 handling of XkbSelectEvents requests. The issue results from the lack of proper validation of user-supplied data, which can result in an integer underflow before writing to memory. An attacker can leverage this vulnerability to escalate privileges and execute code in the context of root.

Affected Software

1 affected component
X.Org Server

Event History

Feb 26, 2025
Advisory Published
via ZDI·07:39 PM

Frequently Asked Questions

1

What is the severity of ZDI-20-1418?

The severity of ZDI-20-1418 is classified as high due to its potential to allow privilege escalation.

2

How do I fix ZDI-20-1418?

To fix ZDI-20-1418, upgrade to the latest patched version of X.Org Server as recommended by the vendor.

3

What systems are affected by ZDI-20-1418?

ZDI-20-1418 affects installations of X.Org Server that allow local attackers to escalate privileges.

4

What type of attack does ZDI-20-1418 involve?

ZDI-20-1418 involves a local attack where an attacker must execute low-privileged code to exploit the vulnerability.

5

Is there a known exploit for ZDI-20-1418?

While there is no publicly known exploit for ZDI-20-1418, the vulnerability presents a significant risk if targeted by attackers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203