Medium
WildMIDI through 0.5.0 Heap Out-of-Bounds Read via _WM_ParseNewHmp
Type: advisorySources: OSV
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().
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-111162
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 02:54 UTC · Revision 1
Source evidence
WildMIDI through 0.5.0 Heap Out-of-Bounds Read via _WM_ParseNewHmp
core-osv · Original sourcePublished 15 Oct 2026, 18:57 UTC
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().
osv:CVE-2026-111162
Complete source record
{
"id": "1e5d571c0fd504205f76ecc7097ec463c740a50130b6af0e2a7f3d6cceac9dca",
"url": "https://osv.dev/vulnerability/CVE-2026-111162",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "WildMIDI through 0.5.0 Heap Out-of-Bounds Read via _WM_ParseNewHmp",
"summary": "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().",
"evidence": "osv:CVE-2026-111162",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-111162",
"aliases": [
"CVE-2026-111162"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mindwerks/wildmidi",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "340472ed4633d139d30c660b90eca03c1320e593"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.5.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.5.0"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"wildmidi-0.5.0",
"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"
}
}
],
"modified": "2026-10-28T02:30:48.972250069Z",
"provider": "osv",
"references": [
"https://github.com",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111162.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-111162",
"https://www.vulncheck.com/advisories/wildmidi-through-0.5.0-heap-out-of-bounds-read-via-wm-parsenewhmp",
"https://github.com/Mindwerks/wildmidi",
"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://hackmd.io/@haind-pwn/wildmidi-hmp-chunk-length-underflow-oob-read"
],
"provider_metadata": {
"cwe_ids": [
"CWE-125"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111162.json"
}
},
"related_cves": [
{
"value": "CVE-2026-111162",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 517537,
"published_at": "2026-10-15T18:57:49.774+00:00"
}