{"id":"CVE-2026-111162","summary":"WildMIDI through 0.5.0 Heap Out-of-Bounds Read via _WM_ParseNewHmp","details":"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().","modified":"2026-10-17T02:48:18.961560474Z","published":"2026-10-15T18:57:49.774Z","database_specific":{"cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111162.json","cna_assigner":"VulnCheck"},"references":[{"type":"WEB","url":"https://github.com"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111162.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111162"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/wildmidi-through-0.5.0-heap-out-of-bounds-read-via-wm-parsenewhmp"},{"type":"PACKAGE","url":"https://github.com/Mindwerks/wildmidi"},{"type":"ARTICLE","url":"https://github.com/Mindwerks/wildmidi/blob/340472ed4633d139d30c660b90eca03c1320e593/src/f_hmp.c#L258-L261"},{"type":"ARTICLE","url":"https://github.com/Mindwerks/wildmidi/blob/340472ed4633d139d30c660b90eca03c1320e593/src/internal_midi.c#L2166-L2172"},{"type":"ARTICLE","url":"https://hackmd.io/@haind-pwn/wildmidi-hmp-chunk-length-underflow-oob-read"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mindwerks/wildmidi","events":[{"introduced":"0"},{"fixed":"340472ed4633d139d30c660b90eca03c1320e593"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"0.5.0"},{"fixed":"0.5.0"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["wildmidi-0.4.6","wildmidi-0.4.5","wildmidi-0.4.4","wildmidi-0.4.3","wildmidi-0.4.2","wildmidi-0.4.1","wildmidi-0.4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111162.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N"}]}