CVE-2026-99331
Received Received - Intake

HID cp2112 Raw Event Length Validation Flaw

Vulnerability report for CVE-2026-99331, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-19

Last updated on: 2026-11-19

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-19
Last Modified
2026-11-19
Generated
2026-11-19
AI Q&A
2026-11-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux_kernel linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in the Linux kernel's HID cp2112 driver. The issue is that the cp2112_raw_event() function reads fields from a transfer status response without first validating the report length. For data responses, it copies bytes based on a length value at offset two without ensuring the input report contains enough data, potentially leading to buffer over-reads.

Detection Guidance

This vulnerability is specific to the Linux kernel's HID cp2112 driver and does not involve network detection. To check if your system is affected, verify the kernel version and whether the vulnerable driver is loaded. Use commands like 'uname -a' to check the kernel version and 'lsmod | grep cp2112' to see if the driver is loaded.

Impact Analysis

This vulnerability could allow an attacker to cause a denial of service or potentially execute arbitrary code by sending maliciously crafted USB HID reports to a system using the affected cp2112 driver. Systems with USB devices using this driver may be vulnerable to crashes or code execution.

Mitigation Strategies

Update your Linux kernel to the latest stable version that includes the fix for this vulnerability. If you cannot update immediately, consider disabling the cp2112 driver if it is not required. Monitor vendor advisories for kernel updates and apply them promptly.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-99331. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...