{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "d0742abaa1c396a26bb3d3ce2732988cd3faa020"
            },
            {
              "fixed": "02e255869745348db39effc347cb8a9cc70f9725"
            },
            {
              "fixed": "240e3adb33dcc181577129502ba54143130bda02"
            },
            {
              "fixed": "88a840da879ef1c21d43b48a2c2740c514ee9828"
            },
            {
              "fixed": "65ffc1c6a6f6393957e99014cdf72e35d2344e8b"
            },
            {
              "fixed": "356f75af018250bea158b051ad0754fb80bb4c86"
            },
            {
              "fixed": "30e55a93cdc6b24e9cef7b975376b925098aad2b"
            },
            {
              "fixed": "e06f76c09e7cdb0851556ebf5939dd87550a387c"
            },
            {
              "fixed": "9932c9af185f8586e883d44ca562c12f4487c762"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.35"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.61"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142789.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: zydacron: validate key report length\n\nThe HID core invokes raw_event callbacks before validating the report\nlength.  zc_raw_event() verifies the report ID in byte zero and then reads\nthe key code from byte one for report IDs 0x02 and 0x03 without checking\nthat the second byte is present.\n\nA one-byte report reproduced the issue under KASAN:\n\n  BUG: KASAN: slab-out-of-bounds in zc_raw_event+0x54c/0x580\n  Read of size 1 by task hidtrigger/93\n  Call Trace:\n   zc_raw_event+0x54c/0x580\n   __hid_input_report+0x2ef/0x3a0\n   inject_store+0x479/0x490 [faketrans]\n\nRequire both the report ID and key code before processing the report.\n\nCommit 47669bec44fe (\"HID: asus: refactor the two workqueues and init\nsequence\") added the same kind of raw_event length validation to hid-asus.",
  "id": "CVE-2026-142789",
  "modified": "2026-12-03T04:45:35.071372151Z",
  "published": "2026-12-03T03:11:24.381Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/02e255869745348db39effc347cb8a9cc70f9725"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/240e3adb33dcc181577129502ba54143130bda02"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/30e55a93cdc6b24e9cef7b975376b925098aad2b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/356f75af018250bea158b051ad0754fb80bb4c86"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/65ffc1c6a6f6393957e99014cdf72e35d2344e8b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/88a840da879ef1c21d43b48a2c2740c514ee9828"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9932c9af185f8586e883d44ca562c12f4487c762"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e06f76c09e7cdb0851556ebf5939dd87550a387c"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142789.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142789"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "HID: zydacron: validate key report length"
}