Description
A flaw was found in libinput. An attacker capable of deploying a Lua plugin file in specific system directories can exploit a dangling pointer vulnerability. This occurs when a garbage collection cleanup function is called, leaving a pointer that can then be printed to system logs. This could potentially expose sensitive data if the memory location is re-used, leading to information disclosure. For this exploit to work, Lua plugins must be enabled in libinput and loaded by the compositor.
Problem types
Product status
Timeline
| 2026-04-01: | Reported to Red Hat. |
| 2026-04-01: | Made public. |
Credits
Red Hat would like to thank Koen Tange (monokles.eu) for reporting this issue.
References
access.redhat.com/security/cve/CVE-2026-35094
bugzilla.redhat.com/show_bug.cgi?id=2453840 (RHBZ#2453840)
gitlab.freedesktop.org/libinput/libinput/-/work_items/1272