CVE-2026-121941

libmt32emu before 2.8.4 Heap Buffer Overflow via MidiStreamParserImpl::parseSysex

Published Nov 4, 2026 CVSS 4.0 · 8.5 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A heap buffer overflow exists in libmt32emu before version 2.8.4, triggered when the MidiStreamParserImpl::parseSysex function processes oversized SysEx messages that exceed 32,768 data bytes and are not terminated. When the mt32emu_parse_stream API receives such a message—via a malicious MIDI file, from a MIDI port, or through a sequencer client—the library writes past the end of a heap allocation, corrupting heap memory and causing the application to crash. The vulnerability is a classic out‑of‑bounds write (CWE‑122, CWE‑787) and is limited to causing a denial of service through application failure; no evidence of code execution is provided in the advisory.

Affected Systems

All versions of the libmt32emu library older than 2.8.4 are vulnerable. The library is distributed by the munt organization. Users running applications that link against or otherwise use this library, such as MIDI processing tools or software that accepts MIDI input, are affected.

Risk and Exploitability

The CVSS score of 8.5 classifies this as high severity. The EPSS score of 0.0026 (less than 1%) indicates a very low but non‑zero likelihood of exploitation in the wild. It is not listed in CISA’s KEV catalog, so no publicly confirmed exploits exist. Attackers would need to deliver an oversized SysEx message through the mt32emu_parse_stream API, which can be done via a malicious MIDI file, a MIDI port, or a sequencer client. The overflow writes past a heap allocation, corrupting heap memory and causing the application to crash; the advisory reports no evidence of code execution, so the primary impact remains a denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libmt32emu to version 2.8.4 or newer.
  • Configure the application to validate SysEx message lengths and reject those exceeding 32,768 bytes before calling mt32emu_parse_stream.
  • Restrict external MIDI input sources to trusted devices or disable remote MIDI interfaces if not required.

Generated by OpenCVE AI on November 6, 2026 at 02:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Munt
Munt libmt32emu
Vendors & Products Munt
Munt libmt32emu
Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title libmt32emu before 2.8.4 Heap Buffer Overflow via MidiStreamParserImpl::parseSysex
Weaknesses CWE-122
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 4, 2026, 8:18 PM
Reserved
Nov 4, 2026, 12:05 PM
Status
Deferred
Published
Nov 4, 2026, 1:17 PM
Modified
Nov 12, 2026, 9:36 PM
Severity
Important
Public date
Nov 4, 2026, 12:31 PM