Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted .hmp file to victim
-
DeliveryApplication parses file via _WM_ParseNewHmp()
-
ExploitChunk length 0-12 underflows to ~4GB
-
ExecutionOut-of-bounds heap read past buffer
-
ImpactCrash or heap bytes leaked via WildMidi_GetInfo()
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the WildMIDI library (≤0.5.0) to parse an attacker-supplied .hmp (HMP format) file whose HMP chunk length field is set to a value between 0 and 12, triggering an unsigned-integer underflow to ~4 GB in _WM_ParseNewHmp(). This is a LOCAL, file-driven attack (AV:L): the attacker cannot reach the code path over the network and must get the malicious file loaded by the target application or user (UI:P / passive interaction), limiting realistic exploitation to workflows that process untrusted .hmp files. No authentication or special privileges are needed (PR:N), and default configurations are affected, but impact is bounded to a crash (DoS) or disclosure of adjacent heap bytes surfaced through WildMidi_GetInfo() - there is no code-execution or write primitive. |
| Impact | This is a genuine but modest-priority issue, not a high-urgency flaw. The authoritative CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H) scores 6.9 (Medium) and tells a consistent story: exploitation is LOCAL (the attacker must get a crafted .hmp file parsed on the target), requires passive user interaction (UI:P), needs no privileges, and primarily causes a crash (VA:H) with only limited confidentiality exposure of heap bytes (VC:L) and no integrity impact. No EPSS score, no CISA KEV listing, and no POC flag were provided in the input, so there is no signal of active exploitation or weaponization - this is a bounds-read (CWE-125), not remote code execution. A VulnCheck advisory and a detailed third-party technical write-up (hackmd) exist, which raises the likelihood that exploitation details are public even though no exploit flag was set; this should be verified. The signals are internally consistent (no CVSS-vs-description conflict), but note the attack vector is LOCAL/file-based despite the memorable '4 GB wrap' framing - this is not a network-remote vulnerability. Combined with WildMIDI's niche deployment footprint, real-world risk is limited to contexts where untrusted .hmp files are parsed. |
| Exploit ScenarioDerived | An attacker crafts a malicious .hmp file whose HMP chunk length field is set between 0 and 12, which underflows during subtraction and wraps to roughly 4 GB, driving the parser to read far past the allocated heap buffer. A victim application or user that loads this file through WildMIDI (e.g., a media player or game using the library) then either crashes or, via WildMidi_GetInfo(), returns heap memory contents to the caller. A detailed technical write-up describing the bug exists publicly, though no packaged exploit was indicated in the source data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 15, 2026
Heap out-of-bounds read in WildMIDI through 0.5.0 allows attackers to crash applications or disclose adjacent heap bytes by supplying a crafted .hmp file with an HMP chunk length of 0-12 that underflows to roughly 4 GB. Exploitation is local and file-driven: the target application or user must load the malicious .hmp file, reaching _WM_ParseNewHmp() with no authentication or special privileges required, and the impact is limited to denial of service or heap information exposure via WildMidi_GetInfo() with no code-execution or write primitive. This is a genuine but modest-priority issue, not a high-urgency flaw; no public exploit identified at time of analysis and CISA KEV does not list active exploitation.
RemediationAI
No vendor-released patch identified at time of analysis; WildMIDI through 0.5.0 remains affected. The primary action is to avoid loading untrusted .hmp files with affected WildMIDI builds and to check the VulnCheck advisory and Mindwerks repository for an updated release before upgrading. If the application does not require HMP support, disable or remove the HMP parser path or block .hmp input at the application boundary; this prevents exposure but may break legitimate HMP playback. Where HMP files must be processed, run the parser in a sandboxed, low-privilege process and treat any crash as a security event, because the same underflow can disclose adjacent heap bytes through WildMidi_GetInfo(). Developers should add an explicit check that rejects HMP chunk lengths in the 0-12 range before the unsigned subtraction in _WM_ParseNewHmp(), or apply the upstream fix once a patched version is released. These mitigations trade off functionality or engineering effort, and none provides a complete fix until a vendor patch is available.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WildMIDI is a software MIDI synthesizer library. The vulnerable code is in the HMP format parser, specifically _WM_ParseNewHmp() in src/f_hmp.c, which reads an HMP chunk length field. When that field is set to a value between 0 and 12, an unsigned-integer subtraction or length calculation underflows to approximately 4 GB. The parser then trusts the underflowed length and reads past the allocated heap buffer, which is CWE-125 out-of-bounds read. Source references point to src/f_hmp.c lines 258-261 and src/internal_midi.c lines 2166-2172. The CPE cpe:2.3:a:mindwerks:wildmidi:*:*:*:*:*:*:*:* identifies the mindwerks WildMIDI product family. The flaw is read-oriented: there is no write or code-execution primitive. Information disclosure is bounded to adjacent heap bytes that may be surfaced through WildMidi_GetInfo(), while availability impact is high because a malformed .hmp file can crash the process. Tags associated with the issue include Buffer Overflow and Information Disclosure, though the assessed root-cause class is an out-of-bounds read.
Know when Wildmidi gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local file parsing (AV:L) requiring a victim to load the crafted file (UI:R); no privileges (PR:N); limited heap disclosure (C:L) and crash-level DoS (A:H), no integrity impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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().
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
The _WM_ParseNewMidi function in f_midi.c in WildMIDI 0.4.2 can cause a denial of service (invalid memory read and appli
The _WM_SetupMidiEvent function in internal_midi.c:2318 in WildMIDI 0.4.2 can cause a denial of service (invalid memory
The _WM_SetupMidiEvent function in internal_midi.c:2315 in WildMIDI 0.4.2 can cause a denial of service (invalid memory
The _WM_SetupMidiEvent function in internal_midi.c:2122 in WildMIDI 0.4.2 can cause a denial of service (invalid memory
Denial of service in WildMIDI through 0.5.0 occurs when an application using the library opens or decodes a crafted HMI
EUVD-2026-102289
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB