{"id":"CVE-2026-63916","published":"2026-07-19T14:55:20Z","modified":"2026-10-19T20:17:55Z","title":"HID: wacom: Fix OOB write in wacom_hid_set_device_mode()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: wacom: Fix OOB write in wacom_hid_set_device_mode()\n\nwacom_hid_set_device_mode() currently assumes that the HID_DG_INPUTMODE\nusage is always located in the first field (field[0]) of the feature report.\nHowever, a device can specify HID_DG_INPUTMODE in a different field.\n\nIf HID_DG_INPUTMODE is in a field other than the first one and the first\nfield has a report_count smaller than the usage_index of HID_DG_INPUTMODE,\nthis leads to an out-of-bounds write to r->field[0]->value.\n\nFix this by storing the field index of HID_DG_INPUTMODE in 'struct\nhid_data' during feature mapping.  In wacom_hid_set_device_mode(), use\nthis stored field index to access the correct field and add bounds\nchecks to ensure both the field index and the value index are within\nvalid ranges before writing.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00412,"percentile":0.27056,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://git.kernel.org/stable/c/2add311d99646c9d235b2c44f9c169ba30f5db3a","tags":[]},{"url":"https://git.kernel.org/stable/c/83bd8a5756a3c4a413ed8f6253f9eb2821e1ccaf","tags":[]},{"url":"https://git.kernel.org/stable/c/5716a293fb19d382ca2336e08fd28a619a5f3c25","tags":[]},{"url":"https://git.kernel.org/stable/c/ed598de9f61582902406d352d99f2073d8e00298","tags":[]},{"url":"https://git.kernel.org/stable/c/43e7c02d6090a82fd60d63491f6871aec906345e","tags":[]},{"url":"https://git.kernel.org/stable/c/b8338111e14183972359009c12d0dbd81d2e1e16","tags":[]},{"url":"https://git.kernel.org/stable/c/5db3fca0cec7b33bc5379411d0a60d792c9f9bc0","tags":[]},{"url":"https://git.kernel.org/stable/c/c0a8899e02ddebd51e2589835182c239c2e224ae","tags":[]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":5.41},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 5ae6e89f7409cb5d218bb728326eba9c650d9700, < 2add311d99646c9d235b2c44f9c169ba30f5db3a",">= 5ae6e89f7409cb5d218bb728326eba9c650d9700, < 83bd8a5756a3c4a413ed8f6253f9eb2821e1ccaf",">= 5ae6e89f7409cb5d218bb728326eba9c650d9700, < 5716a293fb19d382ca2336e08fd28a619a5f3c25",">= 5ae6e89f7409cb5d218bb728326eba9c650d9700, < ed598de9f61582902406d352d99f2073d8e00298",">= 5ae6e89f7409cb5d218bb728326eba9c650d9700, < 43e7c02d6090a82fd60d63491f6871aec906345e",">= 5ae6e89f7409cb5d218bb728326eba9c650d9700, < b8338111e14183972359009c12d0dbd81d2e1e16",">= 5ae6e89f7409cb5d218bb728326eba9c650d9700, < 5db3fca0cec7b33bc5379411d0a60d792c9f9bc0",">= 5ae6e89f7409cb5d218bb728326eba9c650d9700, < c0a8899e02ddebd51e2589835182c239c2e224ae"]},{"vendor":"Linux","product":"Linux","versions":["3.18"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T15:33:16.082526Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-45689","exploited":false,"provenance":"source"}}