CVE-2022-1215
A format string vulnerability was found in libinput
A format string vulnerability was found in libinput
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
A format string vulnerability was found in libinput
- Record
CVE-2022-1215- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.2 High
AV:L/AC:L/Au:N/C:C/I:C/A:C - Weakness
- CWE-134
- Updated
- 2026-11-02
CVE List No score
A format string vulnerability was found in libinput
- Record
CVE-2022-1215- Weakness
- CWE-134
- Updated
- 2026-11-02
EUVDEUVD-2022-24554 No score
A format string vulnerability was found in libinput
- Record
EUVD-2022-24554- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-q3fm-hh84-2m38
7.8
A format string vulnerability was found in libinput
A format string vulnerability was found in libinput
- Record
GHSA-q3fm-hh84-2m38- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-134
- Updated
- 2026-11-02
OSVALPINE-CVE-2022-1215
7.8
A format string vulnerability was found in libinput
- Record
ALPINE-CVE-2022-1215- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVAZL-9861
7.8
CVE-2022-1215 affecting package libinput for versions less than 1.21.0-1
A format string vulnerability was found in libinput
- Record
AZL-9861- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 15 moreShow less
OSVDEBIAN-CVE-2022-1215
7.8
A format string vulnerability was found in libinput
- Record
DEBIAN-CVE-2022-1215- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVOESA-2022-1709
7.8
libinput security update
libinput is a library to handle input devices in Wayland compositors and to provide a generic X.Org input driver.It provides device detection, device handling, input device event processing and abstraction so minimize the amount of custom input code compositors need to provide the common set of functionality that users expect.
Security Fix(es):
A format string vulnerability was found in libinput(CVE-2022-1215)
- Record
OESA-2022-1709- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2022:5257
7.8
Red Hat Security Advisory: libinput security update
- Record
RHSA-2022:5257- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2022:5331
7.8
Red Hat Security Advisory: libinput security update
- Record
RHSA-2022:5331- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRLSA-2022:5257
7.8
Moderate: libinput security update
libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices.
Security Fix(es):
- libinput: format string vulnerability may lead to privilege escalation (CVE-2022-1215)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
RLSA-2022:5257- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRLSA-2022:5331
7.8
Moderate: libinput security update
libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices.
Security Fix(es):
- libinput: format string vulnerability may lead to privilege escalation (CVE-2022-1215)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
RLSA-2022:5331- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-1215
7.8
A format string vulnerability was found in libinput
- Record
UBUNTU-CVE-2022-1215- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVALSA-2022:5257 No score
Moderate: libinput security update
libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices. Security Fix(es):
- libinput: format string vulnerability may lead to privilege escalation (CVE-2022-1215) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2022:5257- Updated
- 2026-11-02
OSVCLSA-2026-1776957467 No score
libinput: Fix of CVE-2022-1215
- CVE-2022-1215: strip format directives from device name
- Record
CLSA-2026-1776957467- Updated
- 2026-11-02
OSV No score
A format string vulnerability was found in libinput
- Record
CVE-2022-1215- Weakness
- CWE-134
- Updated
- 2026-11-02
OSVMGASA-2022-0150 No score
Updated libinput packages fix security vulnerability
libinput could be made to crash or expose sensitive information. (CVE-2022-1215)
- Record
MGASA-2022-0150- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12023-1 No score
libinput-devel-1.20.1-2.1 on GA media
These are all security issues fixed in the libinput-devel-1.20.1-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12023-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:1305-1 No score
Security update for libinput
This update for libinput fixes the following issues:
- CVE-2022-1215: Fixed a format string vulnerability (bsc#1198111).
- Record
SUSE-SU-2022:1305-1- Updated
- 2026-11-02
OSVUSN-5382-1 No score
libinput vulnerability
Albin Eldstål-Ahrens and Lukas Lamster discovered libinput did not properly handle input devices with specially crafted names. A local attacker with physical access could use this to cause libinput to crash or expose sensitive information.
- Record
USN-5382-1- Updated
- 2026-11-02
OSVUSN-5382-2 No score
libinput vulnerability
USN-5382-1 fixed a vulnerability in libinput. This update provides the corresponding updates for Ubuntu 22.04 LTS.
Original advisory details:
Albin Eldstål-Ahrens and Lukas Lamster discovered libinput did not properly handle input devices with specially crafted names. A local attacker with physical access could use this to cause libinput to crash or expose sensitive information.
- Record
USN-5382-2- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libinputAlpine:v3.15 |
1.10.0 up to 1.19.4-r0 | 1.19.4-r0 |
libinputAlpine:v3.16 |
1.10.0 up to 1.20.1-r0 | 1.20.1-r0 |
libinputAlpine:v3.17 |
1.10.0 up to 1.20.1-r0 | 1.20.1-r0 |
libinputAlpine:v3.18 |
1.10.0 up to 1.20.1-r0 | 1.20.1-r0 |
libinputAlpine:v3.19 |
1.10.0 up to 1.20.1-r0 | 1.20.1-r0 |
libinputAlpine:v3.20 |
1.10.0 up to 1.20.1-r0 | 1.20.1-r0 |
libinputAlpine:v3.21 |
1.10.0 up to 1.20.1-r0 | 1.20.1-r0 |
libinputAlpine:v3.22 |
1.10.0 up to 1.20.1-r0 | 1.20.1-r0 |
libinputAlpine:v3.23 |
1.10.0 up to 1.20.1-r0 | 1.20.1-r0 |
libinputAlpine:v3.24 |
1.10.0 up to 1.20.1-r0 | 1.20.1-r0 |
Show 62 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libinputAlmaLinux:9 |
before 1.19.3-2.el9_0 | 1.19.3-2.el9_0 |
libinput-develAlmaLinux:9 |
before 1.19.3-2.el9_0 | 1.19.3-2.el9_0 |
libinput-utilsAlmaLinux:9 |
before 1.19.3-2.el9_0 | 1.19.3-2.el9_0 |
libinputAzure Linux:2 |
before 1.21.0-1 | 1.21.0-1 |
libinputTuxCare:CentOS:7 |
before 1.10.7-2.el7.tuxcare.els1 | 1.10.7-2.el7.tuxcare.els1 |
libinput-develTuxCare:CentOS:7 |
before 1.10.7-2.el7.tuxcare.els1 | 1.10.7-2.el7.tuxcare.els1 |
libinputDebian:12 |
before 1.20.1-1 | 1.20.1-1 |
libinputDebian:13 |
before 1.20.1-1 | 1.20.1-1 |
libinputDebian:14 |
before 1.20.1-1 | 1.20.1-1 |
libinputMageia:8 |
before 1.16.4-1.1.mga8 | 1.16.4-1.1.mga8 |
libinputopenEuler:20.03-LTS-SP1 |
before 1.15.6-3.oe1 | 1.15.6-3.oe1 |
libinputopenEuler:20.03-LTS-SP3 |
before 1.15.6-3.oe1 | 1.15.6-3.oe1 |
libinputopenEuler:22.03-LTS |
before 1.19.2-2.oe2203 | 1.19.2-2.oe2203 |
libinputRed Hat:enterprise_linux:9::appstream |
before 0:1.19.3-2.el9_0 | 0:1.19.3-2.el9_0 |
libinput-debuginfoRed Hat:enterprise_linux:9::appstream |
before 0:1.19.3-2.el9_0 | 0:1.19.3-2.el9_0 |
libinput-debugsourceRed Hat:enterprise_linux:9::appstream |
before 0:1.19.3-2.el9_0 | 0:1.19.3-2.el9_0 |
libinput-test-debuginfoRed Hat:enterprise_linux:9::appstream |
before 0:1.19.3-2.el9_0 | 0:1.19.3-2.el9_0 |
libinput-utilsRed Hat:enterprise_linux:9::appstream |
before 0:1.19.3-2.el9_0 | 0:1.19.3-2.el9_0 |
libinput-utils-debuginfoRed Hat:enterprise_linux:9::appstream |
before 0:1.19.3-2.el9_0 | 0:1.19.3-2.el9_0 |
libinput-debuginfoRed Hat:enterprise_linux:9::crb |
before 0:1.19.3-2.el9_0 | 0:1.19.3-2.el9_0 |
libinput-debugsourceRed Hat:enterprise_linux:9::crb |
before 0:1.19.3-2.el9_0 | 0:1.19.3-2.el9_0 |
libinput-develRed Hat:enterprise_linux:9::crb |
before 0:1.19.3-2.el9_0 | 0:1.19.3-2.el9_0 |
libinput-test-debuginfoRed Hat:enterprise_linux:9::crb |
before 0:1.19.3-2.el9_0 | 0:1.19.3-2.el9_0 |
libinput-utils-debuginfoRed Hat:enterprise_linux:9::crb |
before 0:1.19.3-2.el9_0 | 0:1.19.3-2.el9_0 |
libinputRed Hat:enterprise_linux:8::appstream |
before 0:1.16.3-3.el8_6 | 0:1.16.3-3.el8_6 |
libinput-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:1.16.3-3.el8_6 | 0:1.16.3-3.el8_6 |
libinput-debugsourceRed Hat:enterprise_linux:8::appstream |
before 0:1.16.3-3.el8_6 | 0:1.16.3-3.el8_6 |
libinput-test-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:1.16.3-3.el8_6 | 0:1.16.3-3.el8_6 |
libinput-utilsRed Hat:enterprise_linux:8::appstream |
before 0:1.16.3-3.el8_6 | 0:1.16.3-3.el8_6 |
libinput-utils-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:1.16.3-3.el8_6 | 0:1.16.3-3.el8_6 |
libinput-debuginfoRed Hat:enterprise_linux:8::crb |
before 0:1.16.3-3.el8_6 | 0:1.16.3-3.el8_6 |
libinput-debugsourceRed Hat:enterprise_linux:8::crb |
before 0:1.16.3-3.el8_6 | 0:1.16.3-3.el8_6 |
libinput-develRed Hat:enterprise_linux:8::crb |
before 0:1.16.3-3.el8_6 | 0:1.16.3-3.el8_6 |
libinput-test-debuginfoRed Hat:enterprise_linux:8::crb |
before 0:1.16.3-3.el8_6 | 0:1.16.3-3.el8_6 |
libinput-utils-debuginfoRed Hat:enterprise_linux:8::crb |
before 0:1.16.3-3.el8_6 | 0:1.16.3-3.el8_6 |
libinputRocky Linux:9 |
before 0:1.19.3-2.el9_0 | 0:1.19.3-2.el9_0 |
libinputRocky Linux:8 |
before 0:1.16.3-3.el8_6 | 0:1.16.3-3.el8_6 |
libinputSUSE:Linux Enterprise Module for Basesystem 15 SP3 |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Linux Enterprise High Performance Computing 15-ESPOS |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Linux Enterprise High Performance Computing 15-LTSS |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Linux Enterprise Real Time 15 SP2 |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Linux Enterprise Server 15-LTSS |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Linux Enterprise Server 15 SP1-BCL |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Linux Enterprise Server 15 SP1-LTSS |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Linux Enterprise Server 15 SP2-BCL |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Linux Enterprise Server 15 SP2-LTSS |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Linux Enterprise Server for SAP Applications 15 |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Linux Enterprise Server for SAP Applications 15 SP1 |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Linux Enterprise Server for SAP Applications 15 SP2 |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Manager Proxy 4.1 |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Manager Retail Branch Server 4.1 |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Manager Server 4.1 |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Enterprise Storage 6 |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputSUSE:Enterprise Storage 7 |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputopenSUSE:Leap 15.3 |
before 1.10.5-150000.3.3.1 | 1.10.5-150000.3.3.1 |
libinputUbuntu:18.04:LTS |
before 1.10.4-1ubuntu0.18.04.3, plus listed versions 1.8.2-1ubuntu21.9.2-11.9.3-11.9.4-11.9.4-2 Show 7 moreShow less1.9.4-2ubuntu11.10.0-11.10.1-11.10.3-21.10.4-11.10.4-1ubuntu0.18.04.11.10.4-1ubuntu0.18.04.2 |
1.10.4-1ubuntu0.18.04.3 |
libinputUbuntu:20.04:LTS |
before 1.15.5-1ubuntu0.3, plus listed versions 1.14.1-21.14.2-11.14.3-11.14.3-1build11.15.1-1 Show 6 moreShow less1.15.2-11.15.3-11.15.4-11.15.5-11.15.5-1ubuntu0.11.15.5-1ubuntu0.2 |
1.15.5-1ubuntu0.3 |
libinputUbuntu:22.04:LTS |
before 1.20.0-1ubuntu0.1, plus listed versions 1.18.1-11.19.2-11.19.3-11.19.3-21.20.0-1 |
1.20.0-1ubuntu0.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases, products | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-1215 is a high vulnerability (CVSS 7.8) in Freedesktop Libinput, published April 20, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.38%, the 32nd percentile. Fixed in libinput 1.19.4-r0.
References
seclists.org/oss-sec/2022/q2/47
security.gentoo.org/glsa/202310-14
nvd.nist.gov/vuln/detail/CVE-2022-1215
github.com/advisories/GHSA-q3fm-hh84-2m38
security.alpinelinux.org/vuln/CVE-2022-1215
access.redhat.com/errata/RHSA-2022:5257
Show 30 moreShow less
access.redhat.com/security/cve/CVE-2022-1215
bugzilla.redhat.com/2074952
errata.almalinux.org/9/ALSA-2022-5257.html
errata.tuxcare.com/els_os/centos7els/CLSA-2026-1776957467.html
github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1215.json
security-tracker.debian.org/tracker/CVE-2022-1215
advisories.mageia.org/MGASA-2022-0150.html
bugs.mageia.org/show_bug.cgi?id=30308
lists.x.org/archives/xorg-announce/2022-April/003159.html
ubuntu.com/security/notices/USN-5382-1
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1709
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2074952
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_5257.json
cve.org/CVERecord?id=CVE-2022-1215
gitlab.freedesktop.org/libinput/libinput/-/commit/04f22107e1a2ead05401d9169fa4306e8c7eefad
gitlab.freedesktop.org/libinput/libinput/-/commit/2a8b8fde90d63d48ce09ddae44142674bbca1c28
gitlab.freedesktop.org/libinput/libinput/-/commit/562157f2a56537f353ca49b194efeb770004ba63
gitlab.freedesktop.org/libinput/libinput/-/commit/a423d7d3269dc32a87384f79e29bb5ac021c83d1
gitlab.freedesktop.org/libinput/libinput/-/issues/752
openwall.com/lists/oss-security/2022/04/20/2
access.redhat.com/errata/RHSA-2022:5331
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_5331.json
errata.rockylinux.org/RLSA-2022:5257
errata.rockylinux.org/RLSA-2022:5331
suse.com/support/update/announcement/2022/suse-su-20221305-1
bugzilla.suse.com/1198111
suse.com/security/cve/CVE-2022-1215
ubuntu.com/security/CVE-2022-1215
ubuntu.com/security/notices/USN-5382-2