Moderate: libinput security update

libinput Updated 02 Oct 2025

Summary

30/06/2022
N/A
Yes i
Unrated
Not published

ALSA-2022:5257: Moderate: libinput security update. Affects libinput versions < 1.19.3-2.el9_0. Fixed in 1.19.3-2.el9_0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices. It provides functionality for managing input events and translating them into meaningful actions for the system. The library is widely used in various Linux distributions, including AlmaLinux 9.

Vulnerability Detail

A format string vulnerability has been discovered in libinput, which may lead to privilege escalation. This vulnerability, identified as CVE-2022-1215, allows an attacker to exploit a flaw in the library's handling of format strings. By providing specially crafted input, an attacker can manipulate the format string and potentially execute arbitrary code with elevated privileges. The impact of this vulnerability can range from unauthorized access to sensitive information to full control over the affected system.

How To Fix

Minimum fixed version

1.19.3-2.el9_0

This is the first release that contains the fix.

sudo dnf update libinput

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can mitigate the risk by disabling or restricting access to the affected functionality. However, this may limit the functionality of applications relying on libinput. It is strongly advised to apply the official update as soon as possible.

Conclusion

In conclusion, a format string vulnerability has been discovered in libinput, which may lead to privilege escalation. Users of AlmaLinux 9 are advised to update the libinput package to version 1.19.3-2.el9_0 or later to mitigate the risk. Applying the official update is the recommended course of action to ensure the security and stability of the system. For further support or assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for libinput →

Share this vulnerability

FAQ

libinput is a library used for handling input devices in Linux-based systems. It provides a standardized interface for managing input events and translating them into actions for the system.

The vulnerability allows an attacker to potentially execute arbitrary code with elevated privileges. This can lead to unauthorized access, data leakage, or complete control over the affected system.

To fix this vulnerability, update the libinput package to version 1.19.3-2.el9_0 or later. This update includes a patch that addresses the format string vulnerability.

As a temporary workaround, you can restrict access to the affected functionality or disable it altogether. However, it is recommended to apply the official update as soon as possible.

You can find more information about this vulnerability, including its impact and technical details, on the CVE page for CVE-2022-1215.

Related vulnerabilities

Recent vulnerabilities recorded for libinput.

How To Fix

Minimum fixed version

1.19.3-2.el9_0

This is the first release that contains the fix.

sudo dnf update libinput

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback