Heap out-of-bounds read in WildMIDI HMP parser
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
WildMIDI through 0.5.0 contains a heap out-of-bounds read in the HMP parser function _WM_ParseNewHmp() (CWE-125). Attackers can supply a crafted .hmp file with a chunk length of 0-12 that wraps to roughly 4 GB, which crashes applications or exposes heap bytes through WildMidi_GetInfo().
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
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().
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for WildMIDI.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Vendor assessments
Timeline
- 2026-10-16 Threatist record created from CVE-2026-111162
- 2026-10-16 Priority changed: MEDIUM → LOW
- 2026-10-16 CISA SSVC decision points changed
- 2026-10-18 Affected versions changed · Red Hat
- 2026-10-18 CVSS score added · Red Hat
References
Other 4
- 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
More Mindwerks vulnerabilities
- TI-2026-74947 Heap out-of-bounds read in WildMIDI HMI parsing CVSS 4.0MEDIUM 6.8
- TI-2017-08633 The _WM_SetupMidiEvent function in internal_midi.c:2318 in WildMIDI 0.4.2 can cause a… CVSS 3.0HIGH 7.5
- TI-2017-08634 The _WM_ParseNewMidi function in f_midi.c in WildMIDI 0.4.2 can cause a denial of service… CVSS 3.0HIGH 7.5
- TI-2017-08636 The _WM_SetupMidiEvent function in internal_midi.c:2122 in WildMIDI 0.4.2 can cause a… CVSS 3.1MEDIUM 6.5
- TI-2017-14637 The WildMidi_Open function in WildMIDI since commit… CVSS 3.0HIGH 7.8
- TI-2017-08635 The _WM_SetupMidiEvent function in internal_midi.c:2315 in WildMIDI 0.4.2 can cause a… CVSS 3.0MEDIUM 6.5
Sources
- CVE-2026-111162 · CVE Program
- CVE-2026-111162 · NVD
- FIRST EPSS
- CVE-2026-111162 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences