Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft oversized unterminated SysEx MIDI message
-
DeliveryDeliver as MIDI file, port, or sequencer input
-
ExploitVictim parses it via mt32emu_parse_stream
-
ExecutionOversized fragment overflows heap buffer in parseSysex
-
ImpactCorrupt heap memory and crash application
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an application built on libmt32emu before 2.8.4 to parse attacker-supplied MIDI input through the mt32emu_parse_stream API (via a MIDI file, MIDI port, or sequencer client). The malicious input must be a fragmented/unterminated SysEx message whose first fragment exceeds MAX_STREAM_BUFFER_SIZE (32768 data bytes); feeding more than 32768 SysEx bytes causes the pre-fix memcpy to write past the heap buffer. Limiting factors: the attack vector is local and requires the victim to actually load or play the malicious MIDI (passive user interaction, UI:P), there is no remote/network trigger against default services, and only versions prior to 2.8.4 are affected - the fix clamps the copy to the buffer capacity. |
| Impact | The CVSS 4.0 vector (CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H, score 8.5) rates this high, but the real-world signals are more moderate. The vector is local (AV:L) and requires passive user interaction (UI:P) - i.e., a victim must actually feed the malicious MIDI into an application built on libmt32emu - so this is not remotely reachable against a service without someone loading attacker-supplied input. No EPSS score was supplied and the CVE is not on CISA KEV, so there is no evidence of widespread or active exploitation; the vuln.today decision label is 'this_week', consistent with a patch-promptly rather than emergency posture. There is a conflict worth flagging: the 4.0 vector asserts high confidentiality AND integrity AND availability impact, but the supplied evidence (description and vendor commit) only demonstrates heap-memory corruption and an application crash - escalation of this heap overflow to code execution or data disclosure is plausible for a CWE-122 write primitive but is NOT confirmed by the available sources, so the C/I claims should be treated as unverified. Net: a legitimately serious memory-corruption bug that merits prompt patching, but its local vector and user-interaction requirement make it a scheduled-remediation item rather than a drop-everything emergency. |
| Exploit ScenarioDerived | An attacker crafts a MIDI file (or MIDI port/sequencer stream) containing a fragmented, unterminated SysEx message whose first fragment exceeds the 32768-byte maximum buffer size, then gets a victim to play or load it in an application using libmt32emu before 2.8.4. When parseSysex processes it, the oversized fragment is memcpy'd past the heap allocation, corrupting heap memory and crashing the application. A public technical writeup of the flaw exists, but no confirmed working weaponized exploit is reported. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Heap buffer overflow in libmt32emu's MidiStreamParserImpl::parseSysex allows an attacker who can feed MIDI data into an application built on the library to write past a heap allocation by supplying a fragmented SysEx message whose first fragment exceeds the 32768-byte maximum. Any host application calling mt32emu_parse_stream - with MIDI files, MIDI ports, or sequencer clients - is affected in versions before 2.8.4, with the outcome being heap memory corruption, denial of service via crash, and possible integrity impact on process memory. The CVSS 4.0 score is 8.5, but exploitation is local, requires the victim to load or play the malicious MIDI (passive user interaction), and no public exploit code has been confirmed at time of analysis; the vendor has released a fixed version 2.8.4.
RemediationAI
Upgrade libmt32emu to 2.8.4 or later (released 2026-11-02 per mt32emu/NEWS.txt); the fix is commit 1749f7fed5cdb3a9015acce076a1512b1615dc3b, which clamps the SysEx copy to the buffer capacity and adds the missing streamBufferSize guard, and the vendor advisory is at https://www.vulncheck.com/advisories/libmt32emu-before-2.8.4-heap-buffer-overflow-via-midistreamparserimpl-parsesysex. Until the library is rebuilt against 2.8.4, the actionable compensating control is to validate or reject MIDI before it reaches mt32emu_parse_stream: drop any SysEx message (0xF0 ... 0xF7) whose first fragment exceeds 32768 data bytes or that is fragmented across calls without a terminating 0xF7, with the trade-off that legitimate unusually large SysEx dumps would be discarded; alternatively, restrict which local users or applications can supply MIDI files or open MIDI ports to the vulnerable host process, at the cost of limiting that workflow. Because exploitation needs the victim to load or play crafted MIDI on the affected host, avoid opening untrusted MIDI files and sequencer/MIDI-port inputs in builds that still link a pre-2.8.4 library.
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
libmt32emu is the Munt project's software emulation library for the Roland MT-32/LAPC-I synthesizers; host applications feed raw MIDI byte streams into it through the mt32emu_parse_stream API. The parser (mt32emu/src/MidiStreamParser.cpp) accumulates incomplete System Exclusive messages in a heap-allocated stream buffer bounded by MAX_STREAM_BUFFER_SIZE (32768 data bytes). The root cause is CWE-122, a heap-based buffer overflow: in the pre-2.8.4 code path that stores an incomplete SysEx message for later processing, the memcpy used sysexLength (the raw fragment length) without clamping it to the allocated buffer capacity, so a first SysEx fragment larger than the buffer caused an out-of-bounds heap write; the accompanying capacity check also tested only streamBufferCapacity rather than the current streamBufferSize. The upstream commit 1749f7fed5cdb3a9015acce076a1512b1615dc3b fixes this by computing bytesToCopy as the minimum of sysexLength and streamBufferCapacity, extending the guard to streamBufferSize < MAX_STREAM_BUFFER_SIZE && streamBufferCapacity < MAX_STREAM_BUFFER_SIZE, and adding regression tests for fragmented SysEx at and above the maximum size. Note that the assessed CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H) treats this as a local, user-assisted issue with integrity and availability impact, not a remotely reachable network flaw.
Know when Libmt32Emu 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:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local MIDI input a victim must load (AV:L/UI:R), no privileges needed (PR:N); the heap write-past-allocation yields integrity and availability (crash) impact but no read primitive, so C:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
libmt32emu before 2.8.4 contains a heap buffer overflow vulnerability in MidiStreamParserImpl::parseSysex that allows attackers to write past a heap allocation by supplying oversized unterminated SysEx messages. Attackers can feed more than 32768 SysEx data bytes through the mt32emu_parse_stream API via MIDI files, ports, or sequencer clients to corrupt heap memory and crash the application.
Executive ViewAI
A heap buffer overflow vulnerability (CVE-2026-121941) in the libmt32emu library, affecting versions before 2.8.4, can be triggered when a user opens or plays a specially crafted MIDI file, leading to memory corruption, application crashes, and potential malicious code execution. This impacts any employee using an application that relies on the library for MIDI processing, such as music production tools or legacy game emulators, and could result in operational disruption and data integrity risks.
Apply vendor patch.
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.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
EUVD-2026-116898
GHSA-qw3h-2hqv-29vq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB