{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "5ae6e89f7409cb5d218bb728326eba9c650d9700"
            },
            {
              "fixed": "2add311d99646c9d235b2c44f9c169ba30f5db3a"
            },
            {
              "fixed": "83bd8a5756a3c4a413ed8f6253f9eb2821e1ccaf"
            },
            {
              "fixed": "5716a293fb19d382ca2336e08fd28a619a5f3c25"
            },
            {
              "fixed": "ed598de9f61582902406d352d99f2073d8e00298"
            },
            {
              "fixed": "43e7c02d6090a82fd60d63491f6871aec906345e"
            },
            {
              "fixed": "b8338111e14183972359009c12d0dbd81d2e1e16"
            },
            {
              "fixed": "5db3fca0cec7b33bc5379411d0a60d792c9f9bc0"
            },
            {
              "fixed": "c0a8899e02ddebd51e2589835182c239c2e224ae"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.18.0"
            },
            {
              "fixed": "5.10.259"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.210"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.176"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.143"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.93"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.35"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.0.12"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63916.json"
  },
  "details": "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-\u003efield[0]-\u003evalue.\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.",
  "id": "CVE-2026-63916",
  "modified": "2026-07-22T05:30:01.681344987Z",
  "published": "2026-07-19T14:55:20.015Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2add311d99646c9d235b2c44f9c169ba30f5db3a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/43e7c02d6090a82fd60d63491f6871aec906345e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5716a293fb19d382ca2336e08fd28a619a5f3c25"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5db3fca0cec7b33bc5379411d0a60d792c9f9bc0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/83bd8a5756a3c4a413ed8f6253f9eb2821e1ccaf"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b8338111e14183972359009c12d0dbd81d2e1e16"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c0a8899e02ddebd51e2589835182c239c2e224ae"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ed598de9f61582902406d352d99f2073d8e00298"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63916.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-63916"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "HID: wacom: Fix OOB write in wacom_hid_set_device_mode()"
}