CVE-2026-111162
CVE-2026-111162 · WildMIDI through 0.5.0 Heap Out-of-Bounds Read via _WM_ParseNewHmp
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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().
CVSS 6.9 · Medium · EPSS 0.1%
- Published
- Updated
Stack: system
Affected products and versions
wildmidi
- Versions
- ≥ 0, ≤ 0.5.0: Affected (semver)
No fix published
wildmidi Debian:12
- Versions
- 0.4.3-1
- 0.4.6-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
wildmidi Debian:13
- Versions
- 0.4.3-1
- 0.4.6-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
wildmidi Debian:14
- Versions
- 0.4.3-1
- 0.4.6-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
wildmidi Ubuntu:14.04:LTS
- Versions
- 0.2.3.4-2.1ubuntu2
- 0.2.3.4-2.1ubuntu3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
wildmidi Ubuntu:Pro:16.04:LTS
- Versions
- 0.3.8-2
- 0.3.8-2ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
wildmidi Ubuntu:18.04:LTS
- Versions
- 0.4.0-2
- 0.4.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
wildmidi Ubuntu:20.04:LTS
- Versions
- 0.4.3-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
wildmidi Ubuntu:22.04:LTS
- Versions
- 0.4.3-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
wildmidi Ubuntu:24.04:LTS
- Versions
- 0.4.3-1
- 0.4.3-1build1
- 0.4.3-1build2
- 0.4.3-1build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
wildmidi Ubuntu:26.10
- Versions
- 0.4.6-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
wildmidi Ubuntu:26.04:LTS
- Versions
- 0.4.3-1build3
- 0.4.6-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://hackmd.io/@haind-pwn/wildmidi-hmp-chunk-length-underflow-oob-read
- 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://github.com/Mindwerks/wildmidi
- https://www.vulncheck.com/advisories/wildmidi-through-0.5.0-heap-out-of-bounds-read-via-wm-parsenewhmp
- https://nvd.nist.gov/vuln/detail/CVE-2026-111162