CVE-2026-99331
HID: cp2112: validate response report lengths
Description
In the Linux kernel, the following vulnerability has been resolved: HID: cp2112: validate response report lengths The HID core invokes raw_event callbacks before validating the report length. cp2112_raw_event() reads every field of a transfer status response without checking size. For a data response, it reads the length at offset two and copies that many bytes from offset three, again without ensuring that the input report contains them. Require a complete transfer status structure. For data responses, first require the header and then ensure the clamped payload length fits in the received report before copying it. 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 :
Nov. 19, 2026, 3:17 p.m.
Last Modified :
Nov. 23, 2026, 8:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the patch to validate response report lengths.
- Ensure transfer status structures are complete.
- Validate payload length before copying.
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-99331.
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-99331 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-99331
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-99331 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-99331 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.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 23, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99331.json">CVE-2026-99331</a> Added Reference https://git.kernel.org/stable/c/4ebc9aed3fb7326daad7e7b336bb17b9d41b91d2 Added Reference https://git.kernel.org/stable/c/50fc069cfcb25e9d36a8cccf9111d53bc47a309c Added Reference https://git.kernel.org/stable/c/dfea21d67426b93c60ec4575f27ee1e73c3a75d5 Added Reference https://git.kernel.org/stable/c/f1b4bed4163e7097cd2d59b2c21220d038b6b20f -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 19, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: HID: cp2112: validate response report lengths The HID core invokes raw_event callbacks before validating the report length. cp2112_raw_event() reads every field of a transfer status response without checking size. For a data response, it reads the length at offset two and copies that many bytes from offset three, again without ensuring that the input report contains them. Require a complete transfer status structure. For data responses, first require the header and then ensure the clamped payload length fits in the received report before copying it. 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/99xxx/CVE-2026-99331.json">CVE-2026-99331</a> Added Reference https://git.kernel.org/stable/c/773307dd4c3e8c27eb31650af2df2d91cba22de8 Added Reference https://git.kernel.org/stable/c/94d0e789d8b0d2ea8e25ed5ff2fe2648e11f2297 Added Reference https://git.kernel.org/stable/c/e178cdd6ed0f4ac20afc9220eceae3a89e6719af Added Reference https://git.kernel.org/stable/c/fc54e71a063c0dcc4bceba6d0f71805a9b84082d