CVE-2026-139804
HID: roccat: pyra: reject short button reports
Description
In the Linux kernel, the following vulnerability has been resolved: HID: roccat: pyra: reject short button reports The raw event callback runs before HID core validates and zero-pads the report. It passes the buffer to helpers which inspect data[0] and read a complete struct pyra_mouse_event_button for button reports. A truncated report can therefore cause an out-of-bounds read. Require enough data for the button report before calling either helper. 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 raw event buffer length before processing.
- Require enough data for button reports.
- Apply kernel patches that add length validation.
- Update the Linux kernel to include the fix.
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-139804.
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-139804 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-139804
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-139804 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139804 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: roccat: pyra: reject short button reports The raw event callback runs before HID core validates and zero-pads the report. It passes the buffer to helpers which inspect data[0] and read a complete struct pyra_mouse_event_button for button reports. A truncated report can therefore cause an out-of-bounds read. Require enough data for the button report before calling either helper. 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-139804.json">CVE-2026-139804</a> Added Reference https://git.kernel.org/stable/c/08a4c26838f185f42cb80e5c50826e57c1e18e88 Added Reference https://git.kernel.org/stable/c/1e190aef086106e76c0e01cf9d9bbc2f0f32db7f Added Reference https://git.kernel.org/stable/c/215ea32439ad7a8ebee1515929af90d09fa6d47a Added Reference https://git.kernel.org/stable/c/2b02fc4e5e4a3c6e58d8d9848c72f8773f15ebf8 Added Reference https://git.kernel.org/stable/c/493268f459bb6aeeecbc77f2204c11ad74d05213 Added Reference https://git.kernel.org/stable/c/7f61340b75b5a3ffb5fcb6676bee110327776f72 Added Reference https://git.kernel.org/stable/c/c40fc6d690a1dfcf7a53496b7d15110cbed242a9 Added Reference https://git.kernel.org/stable/c/d88711ae10676145268bb280d6ad07c8d714d2f9