{"id":"CVE-2026-111161","summary":"libADLMIDI 1.6.2 through 1.6.2.1 Stack Out-of-Bounds Write via BW_MidiSequencer noteStates","details":"libADLMIDI 1.6.2 through 1.6.2.1 contains an off-by-one stack out-of-bounds write vulnerability in BW_MidiSequencer that allows attackers to corrupt stack memory via crafted MIDI files. Attackers can supply a MIDI file with a note-on using status 0x9F and note 0x7F through adl_openFile() or adl_openData() to crash the hosting media player or game engine.","modified":"2026-10-17T07:04:55.316082792Z","published":"2026-10-15T18:57:49.073Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111161.json"},"references":[{"type":"WEB","url":"https://github.com"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111161.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111161"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libadlmidi-1.6.2-through-1.6.2.1-stack-out-of-bounds-write-via-bw-midisequencer-notestates"},{"type":"PACKAGE","url":"https://github.com/Wohlstand/libADLMIDI"},{"type":"ARTICLE","url":"https://github.com/Wohlstand/libADLMIDI/blob/99c5e03a5cf9b4fdf35b53efddb853c96320d50f/src/midiseq/impl/miditrack_impl.hpp#L350-L357"},{"type":"ARTICLE","url":"https://github.com/Wohlstand/libADLMIDI/blob/99c5e03a5cf9b4fdf35b53efddb853c96320d50f/src/midiseq/impl/read_smf_impl.hpp#L113"},{"type":"ARTICLE","url":"https://hackmd.io/@haind-pwn/libadlmidi-notestates-note-index-stack-oob"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wohlstand/libadlmidi","events":[{"introduced":"ef8ed009aa0d3ef32affe3813a2552e5f60249e6"},{"fixed":"99c5e03a5cf9b4fdf35b53efddb853c96320d50f"}],"database_specific":{"source":["AFFECTED_FIELD","DESCRIPTION"],"extracted_events":[{"introduced":"1.6.2"},{"last_affected":"1.6.2.1"},{"fixed":"1.6.2.1"}]}}],"versions":["v1.6.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111161.json","vanir_signatures":[{"digest":{"line_hashes":["140976802873806784266399660296035173062","158524881095113783151323007419147765144","299767557556012299399617285950908105718","339440996322695278182285466362524035766","123707171473377661378713781851226846026","72045799197457671106981094639439868089"],"threshold":0.9},"id":"CVE-2026-111161-362edfec","signature_type":"Line","signature_version":"v1","source":"https://github.com/wohlstand/libadlmidi/commit/99c5e03a5cf9b4fdf35b53efddb853c96320d50f","target":{"file":"include/adlmidi.h"},"deprecated":false}],"vanir_signatures_modified":"2026-10-17T07:04:55Z"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N"}]}