CVE-2026-111162
Description
WildMIDI through 0.5.0 contains a heap out-of-bounds read vulnerability in the HMP parser _WM_ParseNewHmp() that allows attackers to read beyond buffers via underflowed chunk lengths. Attackers can supply a crafted .hmp file with a chunk length of 0-12 that wraps to roughly 4 GB, crashing applications or exposing heap bytes through WildMidi_GetInfo().
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/Mindwerks/wildmidi
- https://github.com/Mindwerks/wildmidi/blob/340472ed4633d139d30c660b90eca03c1320e593/src/f_hmp.c#L258-L261
- https://github.com/Mindwerks/wildmidi/blob/340472ed4633d139d30c660b90eca03c1320e593/src/internal_midi.c#L2166-L2172
- https://hackmd.io/@haind-pwn/wildmidi-hmp-chunk-length-underflow-oob-read
- https://www.vulncheck.com/advisories/wildmidi-through-0.5.0-heap-out-of-bounds-read-via-wm-parsenewhmp
CWEs
CWE-125
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.