CVE-2026-139812
HID: cougar: reject short special-key reports
Description
In the Linux kernel, the following vulnerability has been resolved: HID: cougar: reject short special-key reports The HID core invokes raw_event callbacks before validating the report length. cougar_raw_event() reads the key code and action from offsets one and two without checking that those bytes are present. A short report on the special interface can therefore cause an out-of-bounds read. Consume reports that do not contain the action field before accessing the fixed offsets, consistent with the callback's handling of other reports on the special interface. Commit 47669bec44fe ("HID: asus: refactor the two workqueues and init sequence") added the same kind of raw_event length validation to hid-asus.
INFO
Published Date :
Dec. 3, 2026, 4:18 a.m.
Last Modified :
Dec. 3, 2026, 4:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Validate report length before accessing fixed offsets.
- Consume reports that do not contain the action field.
- Apply relevant kernel patches or updates.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139812.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139812 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139812
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139812 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139812 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 03, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: HID: cougar: reject short special-key reports The HID core invokes raw_event callbacks before validating the report length. cougar_raw_event() reads the key code and action from offsets one and two without checking that those bytes are present. A short report on the special interface can therefore cause an out-of-bounds read. Consume reports that do not contain the action field before accessing the fixed offsets, consistent with the callback's handling of other reports on the special interface. Commit 47669bec44fe ("HID: asus: refactor the two workqueues and init sequence") added the same kind of raw_event length validation to hid-asus. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139812.json">CVE-2026-139812</a> Added Reference https://git.kernel.org/stable/c/1997efaca90dbd6211cbd6a53878854ba3ec4cc4 Added Reference https://git.kernel.org/stable/c/5f45c746f5c104c8ad517c6f3342de750c4b1bcd Added Reference https://git.kernel.org/stable/c/6ad199ee108ff78ae65d1d309045c220f1d2ad31 Added Reference https://git.kernel.org/stable/c/74b48b876150b09dbddce8dab5b250c19ddd0a59 Added Reference https://git.kernel.org/stable/c/b747cf83155509ef4009b6cf9ffbe45a0b0383ae Added Reference https://git.kernel.org/stable/c/c3165f4353d48f3c42d12e773cbfad1b60d3f47b Added Reference https://git.kernel.org/stable/c/c6c0df8a4b73a0d563c5e64de640ef5ff525fc82 Added Reference https://git.kernel.org/stable/c/d618e93e9cf5611867b3a7546e09bedff4b65139