CVE-2022-1215: High severity Freedesktop Libinput vulnerability

Published Apr 13, 2022
·
Updated

A format string vulnerability was found in libinput

Other sources

When a device is detected by libinput, libinput logs several messages through log handlers set up by the callers. These log handlers usually eventually result in a printf call. Logging happens with the privileges of the caller, in the case of Xorg this may be root.

— Red Hat

Affected Software

19 affected componentsFixes available
Freedesktop Libinput>=1.10.0<1.18.2
Freedesktop Libinput>=1.19.0<1.19.4
Freedesktop Libinput=1.20.0
debian/libinput
1.22.1-1+deb12u11.28.1-1+deb13u11.31.3-1
alpine/libinput>=1.10.0<1.19.4-r0
1.19.4-r0
alpine/libinput>=1.10.0<1.20.1-r0
1.20.1-r0
alpine/libinput>=1.10.0<1.20.1-r0
1.20.1-r0
alpine/libinput>=1.10.0<1.20.1-r0
1.20.1-r0
alpine/libinput>=1.10.0<1.20.1-r0
1.20.1-r0
alpine/libinput>=1.10.0<1.20.1-r0
1.20.1-r0
alpine/libinput>=1.10.0<1.20.1-r0
1.20.1-r0
alpine/libinput>=1.10.0<1.20.1-r0
1.20.1-r0
alpine/libinput>=1.10.0<1.20.1-r0
1.20.1-r0
alpine/libinput>=1.10.0<1.20.1-r0
1.20.1-r0
debian/libinput<1.20.1-1
1.20.1-1
debian/libinput<1.20.1-1
1.20.1-1
debian/libinput<1.20.1-1
1.20.1-1
redhat/libinput<1.20.1
1.20.1
redhat/libinput<1.18.4
1.18.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libinput to a version that resolves this vulnerability.

    Fixed in 1.22.1-1+deb12u1Fixed in 1.28.1-1+deb13u1Fixed in 1.31.3-1
  2. Upgrade

    Upgrade alpine/libinput to a version that resolves this vulnerability.

    Fixed in 1.19.4-r0
  3. Upgrade

    Upgrade alpine/libinput to a version that resolves this vulnerability.

    Fixed in 1.20.1-r0
  4. Upgrade

    Upgrade debian/libinput to a version that resolves this vulnerability.

    Fixed in 1.20.1-1
  5. Upgrade

    Upgrade redhat/libinput to a version that resolves this vulnerability.

    Fixed in 1.20.1
  6. Upgrade

    Upgrade redhat/libinput to a version that resolves this vulnerability.

    Fixed in 1.18.4
  7. Upgrade

    Upgrade redhat/libinput to a version that resolves this vulnerability.

    Fixed in 1.18.2

Event History

Apr 13, 2022
Data Sourced
via Red Hat·11:22 AM
DescriptionSeverityAffected Software
May 31, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Jun 2, 2022
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·02:15 PM
DescriptionSeverityAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-1215?

CVE-2022-1215 is a format string vulnerability found in libinput.

2

What software is affected by CVE-2022-1215?

The affected software is Freedesktop Libinput versions 1.10.0 to 1.18.2, 1.19.0 to 1.19.4, and 1.20.0.

3

What is the severity of CVE-2022-1215?

CVE-2022-1215 has a severity rating of 7.8 (High).

4

How can I fix CVE-2022-1215?

To fix CVE-2022-1215, it is recommended to update to a patched version of Freedesktop Libinput.

5

Where can I find more information about CVE-2022-1215?

You can find more information about CVE-2022-1215 at the following sources: [seclists.org](https://seclists.org/oss-sec/2022/q2/47), [security.gentoo.org](https://security.gentoo.org/glsa/202310-14).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203