{"id":"CVE-2026-121941","summary":"libmt32emu before 2.8.4 Heap Buffer Overflow via MidiStreamParserImpl::parseSysex","details":"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.","modified":"2026-11-19T20:45:33.103614067Z","published":"2026-11-04T12:31:19.851Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121941.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-122"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121941.json"},{"type":"ADVISORY","url":"https://hackmd.io/@haindpwn/munt-midistreamparser-oversized-sysex-heap-overflow"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121941"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libmt32emu-before-2.8.4-heap-buffer-overflow-via-midistreamparserimpl-parsesysex"},{"type":"REPORT","url":"https://github.com/munt/munt/issues/149"},{"type":"FIX","url":"https://github.com/munt/munt/commit/1749f7fed5cdb3a9015acce076a1512b1615dc3b"},{"type":"PACKAGE","url":"https://github.com/munt/munt"},{"type":"ARTICLE","url":"https://github.com/munt/munt/blob/libmt32emu_2_8_3/mt32emu/src/MidiStreamParser.cpp#L223-L257"},{"type":"EVIDENCE","url":"https://hackmd.io/@haindpwn/cve-2026-121941-munt-midistreamparser-oversized-sysex-heap-overflow"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/munt/munt","events":[{"introduced":"0"},{"fixed":"f5b968c4faf180c7e687346a4e0ad426eee5f2af"},{"fixed":"1749f7fed5cdb3a9015acce076a1512b1615dc3b"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"2.8.4"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"1749f7fed5cdb3a9015acce076a1512b1615dc3b"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["libmt32emu_2_8_6","munt_2_8_2","mt32emu_win32drv_1_9_2","mt32emu_smf2wav_1_9_3","mt32emu_qt_1_12_2","libmt32emu_2_8_3","munt_2_8_1","mt32emu_win32drv_1_9_1","mt32emu_smf2wav_1_9_2","mt32emu_qt_1_12_1","libmt32emu_2_8_2","libmt32emu_2_8_1","munt_2_8_0","mt32emu_win32drv_1_9_0","mt32emu_smf2wav_1_9_1","mt32emu_qt_1_12_0","libmt32emu_2_8_0","munt_2_7_0","mt32emu_win32drv_1_8_1","mt32emu_smf2wav_1_9_0","mt32emu_qt_1_11_0","libmt32emu_2_7_0","mt32emu_qt_1_11_1","libmt32emu_2_6_3","libmt32emu_2_6_2","munt_2_6_2","libmt32emu_2_6_1","munt_2_6_1","mt32emu_smf2wav_1_8_2","mt32emu_qt_1_10_2","mt32emu_smf2wav_1_8_1","mt32emu_qt_1_10_1","munt_2_6_0","mt32emu_win32drv_1_8_0","mt32emu_smf2wav_1_8_0","mt32emu_qt_1_10_0","libmt32emu_2_6_0","munt_2_5_0","mt32emu_win32drv_1_7_0","mt32emu_qt_1_9_0","libmt32emu_2_5_0","munt_2_4_0","mt32emu_win32drv_1_6_0","mt32emu_smf2wav_1_6_0","mt32emu_qt_1_8_0","libmt32emu_2_4_2","libmt32emu_2_4_1","mt32emu_win32drv_1_5_1","libmt32emu_2_4_0","mt32emu_smf2wav_1_5_2","mt32emu_smf2wav_1_5_1","munt_2_3_0","mt32emu_qt_1_7_1","mt32emu_qt_1_7_0","mt32emu_win32drv_1_5_0","mt32emu_smf2wav_1_5_0","libmt32emu_2_3_0","munt_2_2_0","mt32emu_win32drv_1_4_0","mt32emu_smf2wav_1_4_0","mt32emu_qt_1_6_0","libmt32emu_2_2_0","munt_2_1_0","mt32emu_win32drv_1_3_0","mt32emu_smf2wav_1_3_0","mt32emu_qt_1_5_0","libmt32emu_2_1_0","libmt32emu_2_0_2","libmt32emu_2_0_1","munt_2_0_0","mt32emu_win32drv_1_2_0","mt32emu_smf2wav_1_2_0","mt32emu_qt_1_4_0","libmt32emu_2_0_0","mt32emu_win32drv_1_1_1","munt_1_5_0","mt32emu_win32drv_1_1_0","mt32emu_smf2wav_1_1_0","mt32emu_qt_1_3_0","libmt32emu_1_5_0","munt_1_4_0","munt_1_3_0","munt_1_2_0","munt_1_1_1","munt_1_1_0","munt_1_0_0","munt_0_1_3","munt_0_1_2","munt_0_1_1","munt_0_1_0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-121941.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}