---
id: CVE-2026-111163
title: >-
  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
summary: >-
  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…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cwe:
  - CWE-125
vendor: Mindwerks
product: WildMIDI
affected:
  - WildMIDI <= 0.5.0
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T19:17:31.550'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-111163'
references:
  - url: 'https://github.com/Mindwerks/wildmidi'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/Mindwerks/wildmidi/blob/340472ed4633d139d30c660b90eca03c1320e593/src/f_hmi.c#L268-L290
    label: disclosure@vulncheck.com
  - url: 'https://hackmd.io/@haind-pwn/wildmidi-hmp-chunk-length-underflow-oob-read'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/wildmidi-through-0.5.0-heap-out-of-bounds-read-via-wm-parsenewhmi
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
  - exploit-available
ingestedAt: '2026-10-15T19:25:46.423Z'
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-15T19:41:05.410414Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
