{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-50292 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-50292 is a high-severity code injection vulnerability in freedesktop libinput, published on 4 Jun 2026. 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-2026-50292 and fix it if it is affected.\n\nWhat it is: CVE-2026-50292 is a high-severity code injection vulnerability in freedesktop libinput, published on 4 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-50292 exists.\n\nAffected product: freedesktop 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-2026-50292/ (Markdown: https://insights.sbomify.com/CVE-2026-50292/index.md)","id":"CVE-2026-50292","markdown":"https://insights.sbomify.com/CVE-2026-50292/index.md","name":"CVE-2026-50292","record":{"aliases":["ALSA-2026:39296","AZL-89378","CLSA-2026-1783709526","CLSA-2026-1784017931","CLSA-2026-1784020479","CLSA-2026-1792170117","CLSA-2026-1792174065","CVE-2026-50265","DEBIAN-CVE-2026-50292","GHSA-jcq8-v68h-2c44","MGASA-2026-0208","OESA-2026-2628","RHSA-2026:39296","RHSA-2026:43290","RLSA-2026:39296","UBUNTU-CVE-2026-50292","USN-8602-1","USN-8753-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux input library","requires_auth":"none","summary":"Attackers can inject udev properties via unescaped phys output in libinput, leading to arbitrary root code execution on Linux systems.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"libinput","vendor":"freedesktop"}],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"description":"In libinput before 1.30.4 and 1.31.x before 1.31.3, libinput-device-group unescaped phys output can inject udev properties leading to arbitrary root code execution","ecosystems":["AlmaLinux:10","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux_eus:10.0","Rocky Linux:10"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Code injection in libinput","id":"CVE-2026-50292","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":18,"n_references":3,"next":{"headline":"Windows Internal Task Bar Elevation of Privilege Vulnerability","id":"CVE-2026-50293"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["1.30.1-2.el10_2"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/almalinux/libinput","source":"ALSA-2026:39296"},{"ecosystem":"AlmaLinux:10","fixed":["1.30.1-2.el10_2"],"introduced":["0"],"last_affected":[],"package":"libinput-devel","purl":"pkg:rpm/almalinux/libinput-devel","source":"ALSA-2026:39296"},{"ecosystem":"AlmaLinux:10","fixed":["1.30.1-2.el10_2"],"introduced":["0"],"last_affected":[],"package":"libinput-utils","purl":"pkg:rpm/almalinux/libinput-utils","source":"ALSA-2026:39296"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.30.1-2.el10_2"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/redhat/libinput","source":"RHSA-2026:39296"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.30.1-2.el10_2"],"introduced":["0"],"last_affected":[],"package":"libinput-debuginfo","purl":"pkg:rpm/redhat/libinput-debuginfo","source":"RHSA-2026:39296"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.30.1-2.el10_2"],"introduced":["0"],"last_affected":[],"package":"libinput-debugsource","purl":"pkg:rpm/redhat/libinput-debugsource","source":"RHSA-2026:39296"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.30.1-2.el10_2"],"introduced":["0"],"last_affected":[],"package":"libinput-devel","purl":"pkg:rpm/redhat/libinput-devel","source":"RHSA-2026:39296"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.30.1-2.el10_2"],"introduced":["0"],"last_affected":[],"package":"libinput-test-debuginfo","purl":"pkg:rpm/redhat/libinput-test-debuginfo","source":"RHSA-2026:39296"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.30.1-2.el10_2"],"introduced":["0"],"last_affected":[],"package":"libinput-utils","purl":"pkg:rpm/redhat/libinput-utils","source":"RHSA-2026:39296"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.30.1-2.el10_2"],"introduced":["0"],"last_affected":[],"package":"libinput-utils-debuginfo","purl":"pkg:rpm/redhat/libinput-utils-debuginfo","source":"RHSA-2026:39296"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.26.1-5.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/redhat/libinput","source":"RHSA-2026:43290"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.26.1-5.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"libinput-debuginfo","purl":"pkg:rpm/redhat/libinput-debuginfo","source":"RHSA-2026:43290"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.26.1-5.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"libinput-debugsource","purl":"pkg:rpm/redhat/libinput-debugsource","source":"RHSA-2026:43290"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.26.1-5.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"libinput-devel","purl":"pkg:rpm/redhat/libinput-devel","source":"RHSA-2026:43290"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.26.1-5.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"libinput-test-debuginfo","purl":"pkg:rpm/redhat/libinput-test-debuginfo","source":"RHSA-2026:43290"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.26.1-5.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"libinput-utils","purl":"pkg:rpm/redhat/libinput-utils","source":"RHSA-2026:43290"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.26.1-5.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"libinput-utils-debuginfo","purl":"pkg:rpm/redhat/libinput-utils-debuginfo","source":"RHSA-2026:43290"},{"ecosystem":"Rocky Linux:10","fixed":["0:1.30.1-2.el10_2"],"introduced":["0"],"last_affected":[],"package":"libinput","purl":"pkg:rpm/rocky-linux/libinput?distro=rocky-linux-10\u0026epoch=0","source":"RLSA-2026:39296"}],"prev":{"headline":"OpenImageIO: Segmentation Fault in BmpInput::read_native_scanline (bmpinput.cpp:399)","id":"CVE-2026-50291"},"products":["libinput"],"published":"2026-06-04","related":[{"cvss_score":7.8,"headline":"Other in libinput","id":"CVE-2022-1215","kev_date_added":null,"published":"2022-05-31"}],"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":"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":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-04","vendors":["freedesktop"]},"summary":"Attackers can inject udev properties via unescaped phys output in libinput, leading to arbitrary root code execution on Linux systems.","url":"https://insights.sbomify.com/CVE-2026-50292/"}