Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97804 Overview
CVE-2026-97804 is a heap-based buffer overflow [CWE-122] in the Windows Human Interface Device (HID) class driver. An authorized local attacker can exploit the flaw to elevate privileges on an affected system. The vulnerability requires local access and low privileges, with no user interaction needed. Successful exploitation yields high impact to confidentiality, integrity, and availability. Microsoft published guidance for this issue through its Security Update Guide.
Critical Impact
A local attacker with low-privileged access can corrupt kernel heap memory in the HID class driver and gain SYSTEM-level privileges on the affected Windows host.
Affected Products
- Microsoft Windows (HID class driver component)
- Refer to the Microsoft Security Update Guide for the full list of affected Windows builds
- Vendor advisory lists specific affected versions and KB updates
Discovery Timeline
- 2026-10-13 - CVE-2026-97804 published to NVD
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-97804
Vulnerability Analysis
The vulnerability resides in the Windows HID class driver, which brokers input from Human Interface Devices such as keyboards, mice, and specialty peripherals. The driver mishandles the size of data placed into a heap-allocated buffer, allowing an attacker-supplied length or structure to overflow adjacent kernel heap memory. Because the HID class driver runs in kernel mode, corrupting its heap allocations can be used to overwrite kernel objects and redirect control flow. An authorized local user can trigger the condition through crafted interactions with the driver's device interface. Successful exploitation elevates the attacker from a standard user context to SYSTEM. Microsoft tracks the issue through its Security Response Center advisory and has issued updates addressing the flaw.
Root Cause
The root cause is improper validation of input size before copying data into a heap-allocated buffer owned by the HID class driver [CWE-122]. When the driver processes a request containing a length field or variable-sized descriptor, it fails to constrain the copy to the actual allocation size. The resulting out-of-bounds write corrupts neighboring heap chunks and pool metadata.
Attack Vector
Exploitation requires local, authenticated access to the target. An attacker running code as a standard user opens a handle to the HID device interface and issues crafted I/O control requests or malformed HID report data. The driver processes the request, performs an undersized allocation or miscalculated length check, and writes attacker-controlled data past the buffer boundary. Techniques against pool allocator metadata or adjacent kernel objects then enable privilege escalation to SYSTEM. No user interaction is required beyond the attacker's own session.
No public proof-of-concept code has been released. Refer to the Microsoft Security Update Guide for authoritative technical details.
Detection Methods for CVE-2026-97804
Indicators of Compromise
- Unexpected processes spawned under the SYSTEM account from a user-initiated process tree
- Kernel pool corruption events, bugchecks, or crashes referencing hidclass.sys or hidparse.sys
- New services, scheduled tasks, or drivers installed shortly after a standard-user logon
Detection Strategies
- Hunt for token manipulation and parent-child process anomalies where a low-privileged user process gives rise to a SYSTEM process
- Monitor loaded driver telemetry for tampering with or replacement of HID-related kernel modules
- Correlate device-interface access patterns (handle opens to \Device\HID*) with subsequent privilege changes
Monitoring Recommendations
- Collect Windows kernel bugcheck telemetry and Windows Error Reporting data for hidclass.sys faults
- Enable Microsoft-Windows-Kernel-General and driver load auditing in the Windows Event Log
- Centralize endpoint telemetry in a security data lake to correlate driver crashes with subsequent elevation activity
How to Mitigate CVE-2026-97804
Immediate Actions Required
- Apply the Microsoft security update referenced in the Security Update Guide to all affected Windows systems
- Prioritize patching multi-user hosts, terminal servers, and shared workstations where local accounts are common
- Restrict interactive and remote-interactive logon rights to only required accounts
Patch Information
Microsoft has published a security update for CVE-2026-97804 through the Microsoft Security Response Center. Install the applicable cumulative update for your Windows version as listed in the vendor advisory. Verify successful installation via Get-HotFix or your patch management console.
Workarounds
- No official vendor workaround is documented; applying the security update is the recommended remediation
- Reduce local attack surface by removing unnecessary standard-user accounts and enforcing least privilege
- Deploy application control policies to limit execution of unapproved binaries that could trigger the exploit
# Verify the Microsoft security update is installed (PowerShell)
Get-HotFix | Sort-Object -Property InstalledOn -Descending | Select-Object -First 20
# Confirm the HID class driver file version after patching
Get-Item C:\Windows\System32\drivers\hidclass.sys | Select-Object VersionInfo
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

