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.
Published: 2026-11-04
Score: 8.5 High
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

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) 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 is not available, and it is not listed in CISA’s KEV catalog, indicating no publicly confirmed exploits. Based on the description, it is inferred that attacks are likely local or low‑bandwidth remote if an application exposes a MIDI input interface over a network. The observed impact is a process crash; while the overflow corrupts heap memory, the advisory does not report or imply an escalation to arbitrary code execution. Defensive measures such as input validation, size limits, and patching are recommended.

Generated by OpenCVE AI on November 4, 2026 at 14:22 UTC.

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 4, 2026 at 14:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 04 Nov 2026 12:45:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-04T12:31:19.851Z

Reserved: 2026-11-04T12:05:50.249Z

Link: CVE-2026-121941

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-04T13:17:28.560

Modified: 2026-11-04T13:17:28.560

Link: CVE-2026-121941

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-04T14:30:15Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow