{"id":"CVE-2026-139812","summary":"HID: cougar: reject short special-key reports","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: cougar: reject short special-key reports\n\nThe HID core invokes raw_event callbacks before validating the report\nlength.  cougar_raw_event() reads the key code and action from offsets one\nand two without checking that those bytes are present.  A short report on\nthe special interface can therefore cause an out-of-bounds read.\n\nConsume reports that do not contain the action field before accessing the\nfixed offsets, consistent with the callback's handling of other reports on\nthe special interface.\n\nCommit 47669bec44fe (\"HID: asus: refactor the two workqueues and init\nsequence\") added the same kind of raw_event length validation to hid-asus.","modified":"2026-12-03T05:00:23.000348674Z","published":"2026-12-03T03:11:23.852Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139812.json","cna_assigner":"Linux"},"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/1997efaca90dbd6211cbd6a53878854ba3ec4cc4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5f45c746f5c104c8ad517c6f3342de750c4b1bcd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6ad199ee108ff78ae65d1d309045c220f1d2ad31"},{"type":"WEB","url":"https://git.kernel.org/stable/c/74b48b876150b09dbddce8dab5b250c19ddd0a59"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b747cf83155509ef4009b6cf9ffbe45a0b0383ae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c3165f4353d48f3c42d12e773cbfad1b60d3f47b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c6c0df8a4b73a0d563c5e64de640ef5ff525fc82"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d618e93e9cf5611867b3a7546e09bedff4b65139"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139812.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139812"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b8e759b8f6dab1c473c30ac12709095d0b81078e"},{"fixed":"c3165f4353d48f3c42d12e773cbfad1b60d3f47b"},{"fixed":"6ad199ee108ff78ae65d1d309045c220f1d2ad31"},{"fixed":"1997efaca90dbd6211cbd6a53878854ba3ec4cc4"},{"fixed":"5f45c746f5c104c8ad517c6f3342de750c4b1bcd"},{"fixed":"74b48b876150b09dbddce8dab5b250c19ddd0a59"},{"fixed":"d618e93e9cf5611867b3a7546e09bedff4b65139"},{"fixed":"b747cf83155509ef4009b6cf9ffbe45a0b0383ae"},{"fixed":"c6c0df8a4b73a0d563c5e64de640ef5ff525fc82"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139812.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.0"},{"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"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139812.json"}}],"schema_version":"1.9.2"}