{"id":"CVE-2026-111161","revision":"22b6a6964d744f479e38c24c0b7e89ff","records":[{"revision":"22b6a6964d744f479e38c24c0b7e89ff","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-111161","aliases":[],"title":"libADLMIDI 1.6.2 through 1.6.2.1 Stack Out-of-Bounds Write via BW_MidiSequencer noteStates","description":"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.","state":0,"publishedAt":"2026-10-15T18:57:49.073+00:00","modifiedAt":"2026-10-15T19:33:17.206+00:00","affected":[{"ecosystem":"https://github.com","name":"libADLMIDI","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Wohlstand\",\n                    \"product\": \"libADLMIDI\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"1.6.2\",\n                            \"lessThanOrEqual\": \"1.6.2.1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"custom\"\n                        }\n                    ],\n                    \"collectionURL\": \"https://github.com\",\n                    \"repo\": \"https://github.com/Wohlstand/libADLMIDI\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":6.9,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","score":6.1,"severity":"MEDIUM"}],"references":["https://hackmd.io/@haind-pwn/libadlmidi-notestates-note-index-stack-oob","https://github.com/Wohlstand/libADLMIDI/blob/99c5e03a5cf9b4fdf35b53efddb853c96320d50f/src/midiseq/impl/read_smf_impl.hpp#L113","https://github.com/Wohlstand/libADLMIDI/blob/99c5e03a5cf9b4fdf35b53efddb853c96320d50f/src/midiseq/impl/miditrack_impl.hpp#L350-L357","https://github.com/Wohlstand/libADLMIDI","https://www.vulncheck.com/advisories/libadlmidi-1.6.2-through-1.6.2.1-stack-out-of-bounds-write-via-bw-midisequencer-notestates"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-111161","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-111161","identifiers":["CVE-2026-111161"]},"retained":false,"historicalAffected":[]}],"coverage":[]}