Skip to main content

libinput CVE-2026-50292

| EUVDEUVD-2026-34302 CRITICAL
Improper Neutralization of CRLF Sequences ('CRLF Injection') (CWE-93)
2026-06-04 mitre GHSA-jcq8-v68h-2c44
Critical
Disputed · 9.8 NVD
View

Attack ChainAIDerived

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

  1. Access
    Attach or register device with crafted phys
  2. Delivery
    udev invokes libinput-device-group
  3. Exploit
    Unescaped phys injects udev properties
  4. Execution
    Injected RUN directive executes as root
  5. Impact
    Arbitrary root code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization CRLF sequence sanitization
Exploitation Conditions

Exploitation requires the attacker to present an input device whose 'phys' (physical path) property contains udev property-injection characters, and requires udev to invoke the libinput-device-group helper (its default integration on systemd/udev-based Linux) so the unescaped output is parsed as udev properties. Concrete delivery paths: physically attaching a crafted USB/HID device, or local creation of a virtual device via /dev/uinput with an attacker-controlled phys value. Limiting factors that reduce realistic risk: it is not remotely reachable over the network despite the NVD AV:N rating, no existing user session or interaction is strictly needed but device-presentation access is, and systems that do not run the libinput-device-group udev rule (e.g. many headless servers without libinput) are not exposed.

Impact

The NVD CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, base 9.8) overstates real-world reach: this is not a network-facing service. Exploitation requires controlling an input device's phys attribute, which in practice means physically attaching a crafted device or locally registering a virtual/uinput device - the network attack vector is not credible for this defect, so the true vector is physical or local. That assessment is corroborated by the low signals from other sources: EPSS is 0.02% (6th percentile) and the SSVC decision is Exploitation=PoC, Automatable=No, Technical Impact=Total. So while the technical impact is genuinely total (root code execution), the automatability is low and the delivery path is constrained. This is a serious local/physical privilege-escalation issue on Linux graphical systems rather than a mass-exploitable remote RCE; prioritize patching on multi-user, kiosk, and shared-hardware systems, but the AV:N-implied urgency should be tempered. Discrepancy to verify with vendor: NVD marks AV:N while the described mechanism (device phys injection via udev) implies AV:P/AV:L.

Exploit ScenarioDerived

An attacker with brief physical access to a shared workstation plugs in a USB device whose kernel phys path has been crafted to contain udev property-injection sequences; when udev enumerates the device and runs libinput-device-group, the unescaped phys value injects a RUN directive that udevd executes as root, giving the attacker a root shell. A local user could achieve the same by creating a uinput virtual device with a malicious phys string. Public proof-of-concept exploit code exists (SSVC: PoC), lowering the bar for weaponization.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Jul 22, 2026

Arbitrary root code execution in libinput before 1.30.4 and 1.31.x before 1.31.3 arises because the libinput-device-group helper emits the device 'phys' (physical path) property without escaping it. Since this output is consumed by udev - which runs as root - an attacker who controls a device's phys string can inject additional udev properties and have commands executed with root privileges. Publicly available exploit code exists (SSVC exploitation: PoC) but EPSS is very low (0.02%, 6th percentile) and it is not on CISA KEV, indicating no confirmed in-the-wild exploitation.

Earlier versions of this analysis (1)
v1 Jun 04, 2026 - 18:04 CVSS 7.4

Local root code execution in libinput versions before 1.30.4 and 1.31.x before 1.31.3 is possible because the libinput-device-group helper fails to escape the 'phys' string returned for an input device, allowing injection of attacker-controlled udev properties that are subsequently evaluated as privileged actions. The flaw, tracked as CWE-93 (CRLF/property injection), enables an unprivileged local user who can attach or simulate a device with a crafted physical-path identifier to escalate to root. No public exploit identified at time of analysis and the issue is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade to libinput 1.30.4 or, on the 1.31.x branch, to 1.31.3, which escape the phys output before it reaches udev; the upstream fix is in commit 76f0d8a7f57e2868882864b4611281f12f704b55 (https://gitlab.freedesktop.org/libinput/libinput/-/commit/76f0d8a7f57e2868882864b4611281f12f704b55) and the disclosure is at https://www.openwall.com/lists/oss-security/2026/06/04/5. Apply your distribution's updated libinput package as the primary fix. Where immediate patching is not possible, compensating controls include restricting physical USB/device access on shared, kiosk, and lab machines (BIOS/USBGuard allow-listing of known devices), and tightening access to /dev/uinput so unprivileged users cannot register virtual input devices with attacker-chosen phys strings - note this can break legitimate accessibility tools, remote-input software, and virtualization guest-additions that rely on uinput. Review any custom udev rules that call libinput-device-group and consider disabling non-essential ones until patched, accepting that device-grouping behavior for tablets/touchpads may degrade.

Affected VersionsENISA

libinput 1.31.0 <1.31.3
libinput 0 <1.30.4

Affected Packages

euvd libinput fix: 1.30.4, 1.31.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

libinput is the freedesktop.org input-handling library that mediates keyboards, mice, touchpads and tablets for virtually every modern Wayland compositor and the X.Org libinput driver. Its device-grouping helper (libinput-device-group) is invoked from udev rules to compute a stable identifier for related input devices, and it prints device attributes including 'phys', the kernel-reported physical connection path. The flaw is a CWE-93-class output-neutralization failure: because the phys value is written into udev's property stream without escaping newline/special sequences, a crafted phys string can terminate the intended property and inject attacker-chosen udev properties (e.g. RUN/IMPORT directives), which udevd then evaluates as root. The affected component is cpe:2.3:a:freedesktop:libinput across all versions below 1.30.4 and the 1.31.x line below 1.31.3.

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

Sources disagree (Medium–Critical)
NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.6 HIGH

Requires presenting a device with a crafted phys value (physical/local), so AV:P not AV:N; udev runs the helper as root giving scope change and total C/I/A impact.

3.1 AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
4.0 AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
SUSE HIGH
Red Hat 6.7 MEDIUM

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Jul 22, 2026 - 20:30 vuln.today
v2 - CVSS changed
Severity Changed
Jul 22, 2026 - 20:22 NVD
HIGH CRITICAL
CVSS changed
Jul 22, 2026 - 20:22 NVD
7.4 (HIGH) 9.8 (CRITICAL)
Patch available
Jun 04, 2026 - 19:01 EUVD

DescriptionNVD

In libinput before 1.30.4 and 1.31.x before 1.31.3, libinput-device-group unescaped phys output can inject udev properties leading to arbitrary root code execution

Executive ViewAI

Why It Matters

libinput versions 1.30.x (before 1.30.4) and 1.31.x (before 1.31.3) contain an arbitrary root code execution vulnerability affecting Linux systems that handle device input. Although publicly available exploit code exists, no confirmed active exploitation has been observed and exploitation probability remains extremely low (0.02% EPSS). Organizations should prioritize patching multi-user systems and those accepting external devices, particularly where device-level access may be accessible to adversaries.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Prevalence
High
default input stack on nearly all Linux graphical desktops
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

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

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected

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