logo

Technical Advisory: Microsoft Windows – usbmidi2.sys MIDI-1.0 wMaxPacketSize pool overflow

ID: 9f7fe6f4-62e1-591d-8d63-c340ed797b31

STIX ID: report--9f7fe6f4-62e1-591d-8d63-c340ed797b31

Feed Name: NCC Research

Threat Score
70/100

Date Published: 2026-10-12

Date Updated: 2026-10-16

...
...

**Summary:** A logic flaw in the Microsoft USB-MIDI 1.0 driver (Device.cpp) copies an unvalidated endpoint wMaxPacketSize into MidiOutMaxSize and uses an equality test to decide when to flush a per-device buffer; if wMaxPacketSize is not a multiple of 4 the buffer index never resets and attacker-controlled MIDI payloads cause unbounded 4-byte-aligned kernel out-of-bounds writes, enabling local elevation-of-privilege. Vendor advisory (MSRC) and a working exploit are noted; the issue contrasts with a correct MIDI-2.0 path and is classified as medium risk by the author.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.