Skip to main content

Libinput EUVDEUVD-2026-17907

| CVE-2026-35093 HIGH
Code Injection (CWE-94)
2026-04-01 secalert@redhat.com
8.8
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Place malicious Lua bytecode in config directory
  2. Exploit
    libinput loads untrusted bytecode
  3. Execution
    Execute arbitrary code
  4. Impact
    Monitor keyboard input and exfiltrate data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Local attacker with low-privilege user access to the target system running libinput. Attacker must place a crafted Lua bytecode file in system or user configuration directories (e.g., /etc/libinput/ or ~/.config/libinput/). No user interaction required. Affects graphical compositors and applications using libinput library.

Impact

Real-world risk assessment reveals a significant threat despite the local attack vector requirement. The CVSS score of 8.8 reflects genuine severity given the scope change and complete compromise of confidentiality, integrity, and availability within the graphical session context. The low attack complexity (AC:L) and lack of user interaction (UI:N) mean any local user-including those with restricted privileges-can exploit this by simply writing a file to accessible configuration directories. The scope change is particularly concerning as it enables breaking out of libinput's isolation into the compositor's privilege domain, potentially affecting all applications within the graphical session. Without EPSS data for this emerging vulnerability, we rely on CVSS signals: the combination of local access requirement tempers remote exploitation risk, but in multi-user systems, insider threats, or scenarios where initial access has been obtained through other means (e.g., phishing, supply chain), this becomes a reliable privilege escalation vector. The ability to monitor keyboard input represents a severe confidentiality impact for credential theft and surveillance. Priority should be elevated for systems with multiple users, kiosk environments, or anywhere graphical sessions handle sensitive data.

Exploit ScenarioDerived

An attacker with standard user account access on a multi-user Linux workstation crafts a malicious Lua bytecode file containing a reverse shell payload and places it in the ~/.config/libinput/ directory under their user profile or, if they have compromised a service account with write access, in /etc/libinput/. When the graphical session starts or libinput reloads its configuration, the compositor (running with the user's full graphical session privileges) loads and executes the malicious bytecode. The attacker's code now runs within the compositor's context, enabling them to intercept all keyboard input including passwords, credit card numbers, and authentication tokens entered across all applications. The attacker exfiltrates this captured data to an external command-and-control server, maintains persistence by modifying session startup scripts, and potentially pivots to other users' sessions on the same system by exploiting the elevated compositor context.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 01, 2026

Local privilege escalation in libinput allows authenticated users to execute arbitrary code within graphical compositor contexts by placing malicious Lua bytecode in system or user configuration directories. The vulnerability achieves scope change (CVSS:S:C) with high impact across confidentiality, integrity, and availability (8.8 CVSS), enabling attackers to monitor keyboard input including passwords and sensitive data. No public exploit identified at time of analysis, with EPSS data unavailable for this recently disclosed vulnerability.

RemediationAI

Apply vendor-released security updates for libinput as soon as they become available from your Linux distribution. Red Hat users should monitor https://access.redhat.com/security/cve/CVE-2026-35093 for patch release notifications and apply updates through standard yum or dnf update procedures. Users of other distributions should check their security trackers and apply libinput updates when released. Until patches are deployed, implement defense-in-depth controls: restrict write access to libinput configuration directories (typically /etc/libinput/ and ~/.config/libinput/ or similar paths depending on distribution) using filesystem permissions and mandatory access control policies like SELinux or AppArmor. Monitor the upstream fix at https://gitlab.freedesktop.org/libinput/libinput/-/work_items/1271 for technical details. In high-security environments, consider temporarily restricting local user account creation and auditing existing accounts with local access until patches are applied. System administrators should review audit logs for unusual file creation in libinput configuration paths as potential indicators of exploitation attempts.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Libinput is a foundational input device handling library used by Wayland compositors and X.org server implementations on Linux systems. This vulnerability (CWE-94: Improper Control of Generation of Code) stems from libinput's use of Lua scripting for configuration processing without adequate bytecode validation. When libinput loads configuration files from predictable directories, it executes embedded Lua bytecode with the privileges of the calling process-typically a display server or compositor running with elevated capabilities or user session privileges. The scope change indicator (S:C) in the CVSS vector signals that the vulnerability allows escape from libinput's security boundary into the broader compositor security context, effectively turning a configuration loading mechanism into a code execution pathway. The attack requires local access (AV:L) and low-level user privileges (PR:L), but no user interaction (UI:N) and low complexity (AC:L), making it trivially exploitable once local access is achieved.

Know when Libinput gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 8.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
SUSE HIGH
Red Hat 8.8 HIGH

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

A flaw was found in libinput. A local attacker who can place a specially crafted Lua bytecode file in certain system or user configuration directories can bypass security restrictions. This allows the attacker to run unauthorized code with the same permissions as the program using libinput, such as a graphical compositor. This could lead to the attacker monitoring keyboard input and sending that information to an external location.

Executive ViewAI

Why It Matters

CVE-2026-35093 is a high-severity local privilege escalation in libinput affecting all authenticated users on systems with graphical interfaces. An authenticated attacker can execute arbitrary code with compositor privileges, potentially capturing sensitive input including passwords and compromising system integrity. Organizations running libinput-dependent desktop environments should prioritize containment measures immediately, as the attack requires only local access and no patch is currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict write permissions on /etc/libinput and user configuration directories to root/owner only (chmod 700 user directories, 755 system directories); (2) Disable local shell access for non-administrative accounts where operationally feasible; (3) Implement mandatory access controls (AppArmor/SELinux) to restrict libinput process capabilities; (4) Deploy file integrity monitoring (AIDE/Tripwire) on all libinput configuration paths; (5) Maintain detailed audit logging of configuration directory access (auditd rules for /etc/libinput and ~/.config/libinput).

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

cpe:2.3:a:freedesktop:libinput:*:*:*:*:*:*:*:*
cpe:2.3:a:freedesktop:libinput:*:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:43:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:44:*:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: High
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Module for Basesystem 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy