{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-1215 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-1215 is a high-severity vulnerability in libinput, published on 31 May 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-1215 and fix it if it is affected.\n\nWhat it is: CVE-2022-1215 is a high-severity vulnerability in libinput, published on 31 May 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-1215 in the wild and no public exploit code.\n\nAffected product: libinput. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-1215/ (Markdown: https://insights.sbomify.com/CVE-2022-1215/index.md)","id":"CVE-2022-1215","markdown":"https://insights.sbomify.com/CVE-2022-1215/index.md","name":"CVE-2022-1215","record":{"aliases":["ALSA-2022:5257","AZL-9861","CLSA-2026-1776957467","DEBIAN-CVE-2022-1215","GHSA-q3fm-hh84-2m38","MGASA-2022-0150","OESA-2022-1709","RHSA-2022:5257","RHSA-2022:5331","RLSA-2022:5257","RLSA-2022:5331","SUSE-SU-2022:1305-1","UBUNTU-CVE-2022-1215","USN-5382-1","USN-5382-2","openSUSE-SU-2024:12023-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Input handling library","requires_auth":"low_privilege","summary":"A format string vulnerability in libinput allows attackers to execute arbitrary code or cause a denial of service.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"libinput","vendor":"freedesktop"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-134","name":"Use of Externally-Controlled Format String"}],"description":"A format string vulnerability was found in libinput","ecosystems":["AlmaLinux:9","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Real Time 15 SP2","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","openSUSE:Leap 15.3"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Other in libinput","id":"CVE-2022-1215","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2022"},"n_packages":49,"n_references":2,"next":{"headline":"Advanced Image Sitemap \u003c= 1.2 - Reflected Cross-Site Scripting","id":"CVE-2022-1216"},"packages":[{"ecosystem":"AlmaLinux:9","fixed":["1.19.3-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/almalinux/libinput","source":"ALSA-2022:5257"},{"ecosystem":"AlmaLinux:9","fixed":["1.19.3-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"libinput-devel","purl":"pkg:rpm/almalinux/libinput-devel","source":"ALSA-2022:5257"},{"ecosystem":"AlmaLinux:9","fixed":["1.19.3-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"libinput-utils","purl":"pkg:rpm/almalinux/libinput-utils","source":"ALSA-2022:5257"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.3-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/redhat/libinput","source":"RHSA-2022:5331"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.3-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"libinput-debuginfo","purl":"pkg:rpm/redhat/libinput-debuginfo","source":"RHSA-2022:5331"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.3-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"libinput-debugsource","purl":"pkg:rpm/redhat/libinput-debugsource","source":"RHSA-2022:5331"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.3-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"libinput-test-debuginfo","purl":"pkg:rpm/redhat/libinput-test-debuginfo","source":"RHSA-2022:5331"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.3-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"libinput-utils","purl":"pkg:rpm/redhat/libinput-utils","source":"RHSA-2022:5331"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.3-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"libinput-utils-debuginfo","purl":"pkg:rpm/redhat/libinput-utils-debuginfo","source":"RHSA-2022:5331"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.16.3-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"libinput-debuginfo","purl":"pkg:rpm/redhat/libinput-debuginfo","source":"RHSA-2022:5331"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.16.3-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"libinput-debugsource","purl":"pkg:rpm/redhat/libinput-debugsource","source":"RHSA-2022:5331"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.16.3-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"libinput-devel","purl":"pkg:rpm/redhat/libinput-devel","source":"RHSA-2022:5331"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.16.3-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"libinput-test-debuginfo","purl":"pkg:rpm/redhat/libinput-test-debuginfo","source":"RHSA-2022:5331"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.16.3-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"libinput-utils-debuginfo","purl":"pkg:rpm/redhat/libinput-utils-debuginfo","source":"RHSA-2022:5331"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.19.3-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/redhat/libinput","source":"RHSA-2022:5257"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.19.3-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"libinput-debuginfo","purl":"pkg:rpm/redhat/libinput-debuginfo","source":"RHSA-2022:5257"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.19.3-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"libinput-debugsource","purl":"pkg:rpm/redhat/libinput-debugsource","source":"RHSA-2022:5257"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.19.3-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"libinput-test-debuginfo","purl":"pkg:rpm/redhat/libinput-test-debuginfo","source":"RHSA-2022:5257"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.19.3-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"libinput-utils","purl":"pkg:rpm/redhat/libinput-utils","source":"RHSA-2022:5257"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.19.3-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"libinput-utils-debuginfo","purl":"pkg:rpm/redhat/libinput-utils-debuginfo","source":"RHSA-2022:5257"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:1.19.3-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"libinput-debuginfo","purl":"pkg:rpm/redhat/libinput-debuginfo","source":"RHSA-2022:5257"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:1.19.3-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"libinput-debugsource","purl":"pkg:rpm/redhat/libinput-debugsource","source":"RHSA-2022:5257"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:1.19.3-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"libinput-devel","purl":"pkg:rpm/redhat/libinput-devel","source":"RHSA-2022:5257"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:1.19.3-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"libinput-test-debuginfo","purl":"pkg:rpm/redhat/libinput-test-debuginfo","source":"RHSA-2022:5257"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:1.19.3-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"libinput-utils-debuginfo","purl":"pkg:rpm/redhat/libinput-utils-debuginfo","source":"RHSA-2022:5257"},{"ecosystem":"Rocky Linux:8","fixed":["0:1.16.3-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/rocky-linux/libinput?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2022:5331"},{"ecosystem":"Rocky Linux:9","fixed":["0:1.19.3-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/rocky-linux/libinput?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2022:5257"},{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["1.10.5-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/suse/libinput\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2022:1305-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["1.10.5-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/suse/libinput\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2022:1305-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["1.10.5-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/suse/libinput\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2022:1305-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["1.10.5-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/suse/libinput\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2022:1305-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","fixed":["1.10.5-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/suse/libinput\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOS","source":"SUSE-SU-2022:1305-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["1.10.5-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/suse/libinput\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2022:1305-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["1.10.5-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/suse/libinput\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2022:1305-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["1.10.5-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/suse/libinput\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2022:1305-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","fixed":["1.10.5-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/suse/libinput\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3","source":"SUSE-SU-2022:1305-1"},{"ecosystem":"SUSE:Linux Enterprise Real Time 15 SP2","fixed":["1.10.5-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/suse/libinput\u0026distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP2","source":"SUSE-SU-2022:1305-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","fixed":["1.10.5-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/suse/libinput\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL","source":"SUSE-SU-2022:1305-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["1.10.5-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/suse/libinput\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2022:1305-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-BCL","fixed":["1.10.5-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/suse/libinput\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCL","source":"SUSE-SU-2022:1305-1"}],"prev":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2022-1214"},"products":["libinput"],"published":"2022-05-31","related":[{"cvss_score":7.4,"headline":"Code injection in libinput","id":"CVE-2026-50292","kev_date_added":null,"published":"2026-06-04"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["n/a"]},"summary":"A format string vulnerability in libinput allows attackers to execute arbitrary code or cause a denial of service.","url":"https://insights.sbomify.com/CVE-2022-1215/"}