libinput vulnerability
Published: Thu, 23 Jul 2026 17:11
Summary
libinput could be made to run programs as an administrator.
Details
It was discovered that libinput did not properly escape device properties. A local attacker could possibly use this issue to inject arbitrary udev properties and execute arbitrary code as root.
Recommended actions per Ubuntu release
StackPatch playbook auto-generated per release codename and per affected package.
Ubuntu focal
libinput→1.15.5-1ubuntu0.3+esm1apt_upgradeStandard apt upgrade. Install 1.15.5-1ubuntu0.3+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libinput
Most apt upgrades restart their service automatically. needrestart lists anything else.
libinput-bin→1.15.5-1ubuntu0.3+esm1apt_upgradeStandard apt upgrade. Install 1.15.5-1ubuntu0.3+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libinput-bin
Most apt upgrades restart their service automatically. needrestart lists anything else.
libinput-dev→1.15.5-1ubuntu0.3+esm1apt_upgradeStandard apt upgrade. Install 1.15.5-1ubuntu0.3+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libinput-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
libinput-tools→1.15.5-1ubuntu0.3+esm1apt_upgradeStandard apt upgrade. Install 1.15.5-1ubuntu0.3+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libinput-tools
Most apt upgrades restart their service automatically. needrestart lists anything else.
libinput10→1.15.5-1ubuntu0.3+esm1apt_upgradeStandard apt upgrade. Install 1.15.5-1ubuntu0.3+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libinput10
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu jammy
libinput→1.20.0-1ubuntu0.4apt_upgradeStandard apt upgrade. Install 1.20.0-1ubuntu0.4 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libinput
Most apt upgrades restart their service automatically. needrestart lists anything else.
libinput-bin→1.20.0-1ubuntu0.4apt_upgradeStandard apt upgrade. Install 1.20.0-1ubuntu0.4 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libinput-bin
Most apt upgrades restart their service automatically. needrestart lists anything else.
libinput-dev→1.20.0-1ubuntu0.4apt_upgradeStandard apt upgrade. Install 1.20.0-1ubuntu0.4 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libinput-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
libinput-tools→1.20.0-1ubuntu0.4apt_upgradeStandard apt upgrade. Install 1.20.0-1ubuntu0.4 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libinput-tools
Most apt upgrades restart their service automatically. needrestart lists anything else.
libinput10→1.20.0-1ubuntu0.4apt_upgradeStandard apt upgrade. Install 1.20.0-1ubuntu0.4 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libinput10
Most apt upgrades restart their service automatically. needrestart lists anything else.
Are YOU affected by USN-8602-1?
5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether USN-8602-1 (and any other live CVE) applies. Anonymous, no signup.
curl https://mindsparkstack.com/scan.sh | bash
StackPatch runs this match against YOUR installed packages every hour
Free (3 servers) / from $9/mo (14-day free trial) / Solo $9/mo / Pro $29/mo / Team $79/mo. Indie pricing.