{"id":"CVE-2022-46341","details":"A vulnerability was found in X.Org. This security flaw occurs because the handler for the XIPassiveUngrab request accesses out-of-bounds memory when invoked with a high keycode or button code. This issue can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for ssh X forwarding sessions.","modified":"2026-04-16T00:06:43.342296608Z","published":"2022-12-14T21:15:13.293Z","related":["ALSA-2023:2248","ALSA-2023:2249","ALSA-2023:2257","ALSA-2023:2805","ALSA-2023:2806","ALSA-2023:2830","SUSE-SU-2022:4479-1","SUSE-SU-2022:4480-1","SUSE-SU-2022:4481-1","SUSE-SU-2022:4482-1","SUSE-SU-2022:4483-1","SUSE-SU-2022:4484-1","SUSE-SU-2022:4485-1","SUSE-SU-2022:4487-1","openSUSE-SU-2024:12569-1","openSUSE-SU-2024:12570-1"],"references":[{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z67QC4C3I2FI2WRFIUPEHKC36J362MLA/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202305-30"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5304"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2022-46341"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5NELB7YDWRABYYBG4UPTHRBDTKJRV5M2/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DXDF2O5PPLE3SVAJJYUOSAD5QZ4TWQ2G/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2151756"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"1.20.4"}]},{"events":[{"introduced":"0"},{"last_affected":"36"}]},{"events":[{"introduced":"0"},{"last_affected":"37"}]},{"events":[{"introduced":"0"},{"last_affected":"11.0"}]}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-46341.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}