# CVE-2026-63916: HID: wacom: Fix OOB write in wacom_hid_set_device_mode()

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2026-07-19T14:55:20.015Z
- Modified: 2026-10-30T17:44:37.287Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

HID: wacom: Fix OOB write in wacom_hid_set_device_mode()

wacom_hid_set_device_mode() currently assumes that the HID_DG_INPUTMODE
usage is always located in the first field (field[0]) of the feature report.
However, a device can specify HID_DG_INPUTMODE in a different field.

If HID_DG_INPUTMODE is in a field other than the first one and the first
field has a report_count smaller than the usage_index of HID_DG_INPUTMODE,
this leads to an out-of-bounds write to r->field[0]->value.

Fix this by storing the field index of HID_DG_INPUTMODE in 'struct
hid_data' during feature mapping.  In wacom_hid_set_device_mode(), use
this stored field index to access the correct field and add bounds
checks to ensure both the field index and the value index are within
valid ranges before writing.

(As written by CVE List.)

## Affected

- Linux Linux: from 5ae6e89f7409cb5d218bb728326eba9c650d9700 before 2add311d99646c9d235b2c44f9c169ba30f5db3a; from 5ae6e89f7409cb5d218bb728326eba9c650d9700 before 83bd8a5756a3c4a413ed8f6253f9eb2821e1ccaf; from 5ae6e89f7409cb5d218bb728326eba9c650d9700 before 5716a293fb19d382ca2336e08fd28a619a5f3c25; from 5ae6e89f7409cb5d218bb728326eba9c650d9700 before ed598de9f61582902406d352d99f2073d8e00298; from 5ae6e89f7409cb5d218bb728326eba9c650d9700 before 43e7c02d6090a82fd60d63491f6871aec906345e; from 5ae6e89f7409cb5d218bb728326eba9c650d9700 before b8338111e14183972359009c12d0dbd81d2e1e16; from 5ae6e89f7409cb5d218bb728326eba9c650d9700 before 5db3fca0cec7b33bc5379411d0a60d792c9f9bc0; from 5ae6e89f7409cb5d218bb728326eba9c650d9700 before c0a8899e02ddebd51e2589835182c239c2e224ae; 3.18 (not affected: before 3.18; from 5.10.259 up to 5.10.*; from 5.15.210 up to 5.15.*; from 6.1.176 up to 6.1.*; from 6.6.143 up to 6.6.*; from 6.12.93 up to 6.12.*; from 6.18.35 up to 6.18.*; from 7.0.12 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 3.18 before 5.10.259; from 5.11 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.93; from 6.13 before 6.18.35; from 6.19 before 7.0.12; 7.1

## References

- <https://git.kernel.org/stable/c/2add311d99646c9d235b2c44f9c169ba30f5db3a> (patch)
- <https://git.kernel.org/stable/c/83bd8a5756a3c4a413ed8f6253f9eb2821e1ccaf> (patch)
- <https://git.kernel.org/stable/c/5716a293fb19d382ca2336e08fd28a619a5f3c25> (patch)
- <https://git.kernel.org/stable/c/ed598de9f61582902406d352d99f2073d8e00298> (patch)
- <https://git.kernel.org/stable/c/43e7c02d6090a82fd60d63491f6871aec906345e> (patch)
- <https://git.kernel.org/stable/c/b8338111e14183972359009c12d0dbd81d2e1e16> (patch)
- <https://git.kernel.org/stable/c/5db3fca0cec7b33bc5379411d0a60d792c9f9bc0> (patch)
- <https://git.kernel.org/stable/c/c0a8899e02ddebd51e2589835182c239c2e224ae> (patch)

## Sources

- CVE List: [CVE-2026-63916](https://www.cve.org/CVERecord?id=CVE-2026-63916), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-63916](https://nvd.nist.gov/vuln/detail/CVE-2026-63916), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-63916 · Whole record: https://cve.day/CVE-2026-63916.json · Rebuilt by cve.day 2026-11-25T22:59:28.824Z
