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-111163 Overview
CVE-2026-111163 is a heap out-of-bounds read vulnerability in WildMIDI versions through 0.5.0. The flaw resides in the _WM_ParseNewHmi() function in src/f_hmi.c, which reads past allocated buffer boundaries when handling 0xfe sub-events in HMI (Human Machine Interface) MIDI files. An attacker who delivers a crafted HMI file containing a 0xfe 0x10 sub-event near the end of the buffer can trigger a read of up to four bytes beyond the allocation. The condition typically crashes the decoding application, producing a denial-of-service outcome for any process consuming untrusted HMI input through WildMIDI.
Critical Impact
Processing an attacker-supplied HMI file causes a heap out-of-bounds read in _WM_ParseNewHmi(), crashing any application that embeds WildMIDI for MIDI playback or conversion.
Affected Products
- WildMIDI through version 0.5.0
- Applications and tooling that link against or embed vulnerable WildMIDI builds for HMI/MIDI parsing
- Downstream Linux distribution packages shipping WildMIDI 0.5.0 or earlier
Discovery Timeline
- 2026-10-15 - CVE-2026-111163 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-111163
Vulnerability Analysis
WildMIDI is an open-source software MIDI synthesizer library used by media players, game engines, and audio converters. The HMI format is a variant MIDI container parsed by _WM_ParseNewHmi() in src/f_hmi.c. During chunk processing, the function iterates through event bytes and dispatches on sub-event opcodes without validating that subsequent reads remain within the chunk boundary.
When the parser encounters a 0xfe meta event followed by the 0x10 sub-event near the tail of the input buffer, it dereferences additional bytes to interpret the sub-event payload. The length check is insufficient, so the dereference crosses the heap allocation boundary. This is classified as [CWE-125] Out-of-Bounds Read.
The practical outcome is a process crash, which maps to the availability impact (VA:H) reflected in the CVSS metrics. Confidentiality and integrity are not affected because the read bytes are not returned to the attacker and no attacker-controlled write occurs.
Root Cause
The root cause is a missing bounds check in the 0xfe sub-event handling path of _WM_ParseNewHmi(). The parser trusts the chunk length derived from the file header and does not re-validate that the sub-event payload fits inside the remaining buffer. A chunk length underflow condition, documented in the public HackMD WildMIDI Exploit Analysis, allows the loop to continue past the end of the heap allocation.
Attack Vector
Exploitation requires local user interaction. An attacker crafts a malicious HMI file that places a 0xfe 0x10 sub-event within the last four bytes of the parsed buffer. The victim opens the file in an application that uses WildMIDI, such as a media player or MIDI converter. The parser reads up to four bytes past the heap allocation, triggering a segmentation fault or heap sanitizer abort.
For technical details, see the VulnCheck WildMIDI Advisory and the vulnerable code path in the GitHub WildMIDI Source Code.
Detection Methods for CVE-2026-111163
Indicators of Compromise
- Unexpected crashes or SIGSEGV terminations in processes that load libWildMidi.so or wildmidi binaries
- HMI or MIDI files containing a 0xfe 0x10 sub-event positioned within the final bytes of the file
- AddressSanitizer or Valgrind reports flagging a heap-buffer-overflow read of up to 4 bytes inside _WM_ParseNewHmi
Detection Strategies
- Inventory installed WildMIDI versions across workstations and build systems and flag any package at 0.5.0 or earlier
- Scan code repositories and container images for bundled copies of WildMIDI source or binaries
- Instrument fuzzing or regression harnesses for _WM_ParseNewHmi() using AddressSanitizer to catch the bounds violation deterministically
Monitoring Recommendations
- Collect crash telemetry from endpoints running audio or game applications that process user-supplied MIDI content
- Alert on repeated abnormal terminations of media processes correlated with recent file downloads or email attachments
- Monitor package management logs for installations of WildMIDI versions known to be vulnerable
How to Mitigate CVE-2026-111163
Immediate Actions Required
- Identify all systems and applications that bundle or dynamically link WildMIDI through 0.5.0
- Restrict processing of HMI and HMP files from untrusted sources until a patched build is deployed
- Run WildMIDI-dependent workloads under process isolation or sandboxing to contain crashes
Patch Information
No fixed version is referenced in the published advisory at the time of writing. Monitor the upstream GitHub WildMIDI Repository for a release that adds bounds validation to the 0xfe sub-event handler in src/f_hmi.c. Downstream distributions should backport the fix to their packaged WildMIDI versions once published.
Workarounds
- Disable HMI/HMP format handling in applications that expose a configuration toggle for supported MIDI variants
- Pre-filter MIDI inputs with a validator that rejects files containing 0xfe 0x10 sub-events near end-of-buffer boundaries
- Execute WildMIDI-based parsers inside seccomp, AppArmor, or SELinux confinement to limit the blast radius of a crash
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

