CVE-2026-35093

8.8

Red Hat · Red Hat Enterprise Linux (libinput)

A code injection vulnerability in libinput allows local attackers to execute unauthorized code by placing a malicious Lua bytecode file in specific configuration directories.

Executive summary

A critical code injection vulnerability in libinput on Red Hat Enterprise Linux platforms permits local attackers to gain unauthorized code execution and compromise system input data.

Vulnerability

This flaw stems from CWE-94, which is improper control of code generation. A local attacker with low privileges can place a crafted Lua bytecode file in system or user configuration directories to trigger code execution with the permissions of the graphical compositor.

Business impact

The ability for a local attacker to execute arbitrary code with the privileges of a graphical compositor poses a severe security risk to the integrity and confidentiality of the entire workstation. Successful exploitation allows for the interception of sensitive input data, including keystrokes, which may lead to the exposure of credentials and proprietary information. Given the CVSS score of 8.8, this vulnerability is classified as High severity and requires prompt attention to prevent lateral movement or data exfiltration.

Remediation

Immediate Action: Apply the latest security updates provided by Red Hat for the libinput package across all affected RHEL versions.

Proactive Monitoring: Audit system and user configuration directories for unexpected or unauthorized Lua bytecode files that do not align with standard deployment configurations.

Compensating Controls: Restrict write access to system configuration directories to authorized administrative accounts only to prevent the placement of malicious files.

Exploitation status

Public Exploit Available: Unknown.

Analyst recommendation

Organizations running Red Hat Enterprise Linux should prioritize the deployment of the vendor-supplied patches for libinput. Because this flaw allows for unauthorized code execution, the risk of data theft through keystroke monitoring is significant for multi-user or shared systems. Administrators must verify that all instances are updated to the latest available package versions to mitigate this threat effectively.

More Red Hat CVEs

Sources

Originally found and disclosed by Red Hat would like to thank Koen Tange (monokles.eu) for reporting this issue., per the CVE Program record.