{"id":"CVE-2026-111162","revision":"8b3eb85194cf4009904ca64abe1d6111","records":[{"revision":"8b3eb85194cf4009904ca64abe1d6111","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-111162","aliases":[],"title":"WildMIDI through 0.5.0 Heap Out-of-Bounds Read via _WM_ParseNewHmp","description":"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().","state":0,"publishedAt":"2026-10-15T18:57:49.774+00:00","modifiedAt":"2026-10-16T17:09:53.897+00:00","affected":[{"ecosystem":"https://github.com","name":"WildMIDI","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Mindwerks\",\n                    \"product\": \"WildMIDI\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"0.5.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"collectionURL\": \"https://github.com\",\n                    \"packageURL\": \"pkg:github/Mindwerks/wildmidi\",\n                    \"repo\": \"https://github.com/Mindwerks/wildmidi\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":6.9,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","score":6.1,"severity":"MEDIUM"}],"references":["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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-111162","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-111162","identifiers":["CVE-2026-111162"]},"retained":false,"historicalAffected":[]}],"coverage":[]}