{"id":"CVE-2026-99331","aliases":[],"title":"HID: cp2112: validate response report lengths","originalDescription":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: cp2112: validate response report lengths\n\nThe HID core invokes raw_event callbacks before validating the report\nlength.  cp2112_raw_event() reads every field of a transfer status response\nwithout checking size.  For a data response, it reads the length at offset\ntwo and copies that many bytes from offset three, again without ensuring\nthat the input report contains them.\n\nRequire a complete transfer status structure.  For data responses, first\nrequire the header and then ensure the clamped payload length fits in the\nreceived report before copying it.\n\nCommit 47669bec44fe (\"HID: asus: refactor the two workqueues and init\nsequence\") added the same kind of raw_event length validation to hid-asus.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00232,"percentile":0.15143},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=3.15.0, <6.12.117","fixed":"6.12.117"},{"ecosystem":"Linux","name":"Kernel","range":">=6.13.0, <6.18.61","fixed":"6.18.61"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.2","fixed":"7.3.2"},{"ecosystem":"vendor","name":"Linux","range":">=e932d817866770d456815c9a84b7ed94f0589d80, <4ebc9aed3fb7326daad7e7b336bb17b9d41b91d2","fixed":"4ebc9aed3fb7326daad7e7b336bb17b9d41b91d2"},{"ecosystem":"vendor","name":"Linux","range":">=e932d817866770d456815c9a84b7ed94f0589d80, <50fc069cfcb25e9d36a8cccf9111d53bc47a309c","fixed":"50fc069cfcb25e9d36a8cccf9111d53bc47a309c"},{"ecosystem":"vendor","name":"Linux","range":">=e932d817866770d456815c9a84b7ed94f0589d80, <773307dd4c3e8c27eb31650af2df2d91cba22de8","fixed":"773307dd4c3e8c27eb31650af2df2d91cba22de8"},{"ecosystem":"vendor","name":"Linux","range":">=e932d817866770d456815c9a84b7ed94f0589d80, <94d0e789d8b0d2ea8e25ed5ff2fe2648e11f2297","fixed":"94d0e789d8b0d2ea8e25ed5ff2fe2648e11f2297"},{"ecosystem":"vendor","name":"Linux","range":">=e932d817866770d456815c9a84b7ed94f0589d80, <dfea21d67426b93c60ec4575f27ee1e73c3a75d5","fixed":"dfea21d67426b93c60ec4575f27ee1e73c3a75d5"},{"ecosystem":"vendor","name":"Linux","range":">=e932d817866770d456815c9a84b7ed94f0589d80, <e178cdd6ed0f4ac20afc9220eceae3a89e6719af","fixed":"e178cdd6ed0f4ac20afc9220eceae3a89e6719af"},{"ecosystem":"vendor","name":"Linux","range":">=e932d817866770d456815c9a84b7ed94f0589d80, <f1b4bed4163e7097cd2d59b2c21220d038b6b20f","fixed":"f1b4bed4163e7097cd2d59b2c21220d038b6b20f"},{"ecosystem":"vendor","name":"Linux","range":">=e932d817866770d456815c9a84b7ed94f0589d80, <fc54e71a063c0dcc4bceba6d0f71805a9b84082d","fixed":"fc54e71a063c0dcc4bceba6d0f71805a9b84082d"}],"references":[{"url":"https://git.kernel.org/stable/c/e178cdd6ed0f4ac20afc9220eceae3a89e6719af","type":"other"},{"url":"https://git.kernel.org/stable/c/94d0e789d8b0d2ea8e25ed5ff2fe2648e11f2297","type":"other"},{"url":"https://git.kernel.org/stable/c/773307dd4c3e8c27eb31650af2df2d91cba22de8","type":"other"},{"url":"https://git.kernel.org/stable/c/fc54e71a063c0dcc4bceba6d0f71805a9b84082d","type":"other"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99331.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99331","type":"advisory"},{"url":"https://git.kernel.org/stable/c/dfea21d67426b93c60ec4575f27ee1e73c3a75d5","type":"other"},{"url":"https://git.kernel.org/stable/c/4ebc9aed3fb7326daad7e7b336bb17b9d41b91d2","type":"other"},{"url":"https://git.kernel.org/stable/c/f1b4bed4163e7097cd2d59b2c21220d038b6b20f","type":"other"},{"url":"https://git.kernel.org/stable/c/50fc069cfcb25e9d36a8cccf9111d53bc47a309c","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:26.976Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99331","license":"NVD terms of use","firstSeenAt":"2026-11-19T15:43:47.427Z"},{"name":"osv","at":"2026-11-20T21:22:51.285Z","url":"https://osv.dev/vulnerability/CVE-2026-99331","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T21:22:51.248Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:51.886Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99331","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T14:27:35.180Z"}],"firstSeenAt":"2026-11-19T14:27:35.180Z","publishedAt":"2026-11-19T14:21:38.080Z","modifiedAt":"2026-11-23T08:17:38.113Z"}