ZDI-26-763: X.Org Server XKB XkbResizeKeyType Numeric Truncation Privilege Escalation Vulnerability
ZDI disclosed an X.Org Server XKB numeric truncation flaw enabling local privilege escalation.
Integer truncation heap overflow in X.Org X server XKB
An integer truncation in XkbResizeKeyType() can turn into a heap buffer overflow in the X.Org X server and XWayland. A local, authenticated X client can trigger it without user interaction. Successful use may crash the X server or run code in it. Affected are X server builds before 21.1.25 and XWayland before 24.1.14.
What to do: Upgrade the X.Org X server to 21.1.25 and XWayland to 24.1.14.
| Product | Affected | Fixed in |
|---|---|---|
| X.Org X server | before 21.1.25 | 21.1.25 |
| X.Org XWayland | before 24.1.14 | 24.1.14 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
An integer truncation issue in XkbResizeKeyType() that could lead to a heap buffer overflow by authenticated X clients in X.org X server before 21.1.25 and XWayland before 24.1.14 could be exploited for crashes or potential code execution in the X server.
ZDI disclosed an X.Org Server XKB numeric truncation flaw enabling local privilege escalation.
Today 2.6K readers · 5.5K views · 381 reads · all time 291K views