Description
WildMIDI through 0.5.0 contains a heap out-of-bounds read vulnerability in _WM_ParseNewHmi() in src/f_hmi.c that reads past buffers when handling 0xfe sub-events. Attackers can supply a crafted HMI file placing a 0xfe 0x10 sub-event near the buffer end to read up to four bytes past the allocation, crashing the decoding application.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Mindwerks | WildMIDI | ≤ 0.5.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | wildmidi | No fix yet | — |
| Debian 13 | wildmidi | No fix yet | — |
| Debian 12 | wildmidi | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | wildmidi | No fix yet | — |
| Ubuntu 26.04 LTS | wildmidi | No fix yet | — |
| Ubuntu 24.04 LTS | wildmidi | No fix yet | — |
| Ubuntu 22.04 LTS | wildmidi | No fix yet | — |
| Ubuntu 20.04 LTS | wildmidi | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | wildmidi | No fix yet | — |
| Ubuntu 14.04 LTS | wildmidi | No fix yet | — |
| Ubuntu Pro 16.04 LTS | wildmidi | No fix yet | — |
References
- https://hackmd.io/@haind-pwn/wildmidi-hmp-chunk-length-underflow-oob-read technical-description
- https://github.com/Mindwerks/wildmidi/blob/340472ed4633d139d30c660b90eca03c1320e593/src/f_hmi.c#L268-L290 technical-description
- https://github.com/Mindwerks/wildmidi product
- VulnCheck Advisory: WildMIDI through 0.5.0 Heap Out-of-Bounds Read via _WM_ParseNewHmi third-party-advisory