CVE-2026-129782: Out-of-bounds write in Hyprland zwlr_virtual_pointer_v1 protocol implementation
Out-of-bounds write in the zwlrvirtualpointerv1 protocol implementation of Hyprland for Linux, versions 0.56.0 through 0.56.2. The axis request handlers validate the index from the previous request instead of the one received in the current request, and use the latter without validation to access fixed-size structures. A local process with access to the session's Wayland socket could cause the compositor to crash, terminating the graphical session. In certain builds and configurations, this could also lead to code execution within the compositor process. This issue has been fixed in version 0.57.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Hyprlandto a version that resolves this vulnerability.Fixed in 0.57.0
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Hyprland installations running versions 0.56.0 through 0.56.2 are affected when a local process can access the active session's Wayland socket. The issue is in the zwlr_virtual_pointer_v1 protocol implementation.
What access does an attacker need to exploit it?
An attacker needs to run a local process with access to the session's Wayland socket. Remote access alone is not described as sufficient.
What is the likely impact of exploitation?
A successful exploit can crash the compositor and terminate the graphical session. In certain builds and configurations, it could also result in code execution in the compositor process.
What version fixes the issue?
Upgrade Hyprland to version 0.57.0, which fixes the vulnerability.