Skip to content
Memory corruption Advisory Advanced CVE-2026-122173

HID Parser Library Elevation of Privilege Vulnerability (CVE-2026-122173)

A heap-based buffer overflow exists in the HID Parser Library, and an unauthorised attacker using a physical attack could exploit it to elevate privileges. A successful exploit could gain SYSTEM privileges.

R4nger Follow

Originally disclosed on Microsoft

High 6.8 View original

Description

Heap-based buffer overflow in HID Parser Library allows an unauthorized attacker to elevate privileges with a physical attack.

FAQ

What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.

HID Parser Library

HID Parser Library

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by R4nger, mj with Kunlun Lab & Zhiniang Peng with HUST. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a heap buffer overflow in the HID Parser Library when handling malformed HID report descriptors, though the text does not state the exact coding mistake.

Impact

An attacker who successfully exploited this vulnerability could gain SYSTEM privileges, but the text notes this requires a physical attack.

What the attacker needed

Physical access to the target device

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A buffer overflow is when a program writes more data into a fixed-size memory area than it can hold, corrupting nearby memory. Here the vulnerable code parses HID data, which is the format used by devices like keyboards and mice. Someone with physical access to plug in a crafted device could use this to run code with the highest Windows privileges.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by R4nger

View all

20 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.