{"id":"CVE-2026-111156","summary":"libTiMidity through 0.2.8 Out-of-Bounds Access via SoundFont Preset Header","details":"libTiMidity through 0.2.8 contains an out-of-bounds access vulnerability in init_soundfont() in src/sndfont.c that allows attackers to corrupt memory by supplying unvalidated SF2 preset header bank and preset values. Attackers can craft a .sf2 file whose bank or preset indexes past the 128-entry tonebank or drumset arrays, causing heap memory reads, writes, and application crashes.","modified":"2026-10-17T02:48:18.743374644Z","published":"2026-10-15T18:57:45.506Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111156.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111156.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111156"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libtimidity-through-0.2.8-out-of-bounds-access-via-soundfont-preset-header"},{"type":"PACKAGE","url":"https://github.com/sezero/libtimidity"},{"type":"ARTICLE","url":"https://github.com/sezero/libtimidity/blob/a52adf6aee2635e2a16797213a089c2180e67757/src/sndfont.c#L199-L224"},{"type":"EVIDENCE","url":"https://hackmd.io/@haind-pwn/libtimidity-soundfont-generator-oper-oob-write"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sezero/libtimidity","events":[{"introduced":"a52adf6aee2635e2a16797213a089c2180e67757"},{"fixed":"a52adf6aee2635e2a16797213a089c2180e67757"}],"database_specific":{"extracted_events":[{"introduced":"0.2.8"},{"last_affected":"0.2.8"},{"introduced":"0"},{"fixed":"0.2.8"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["0.2.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111156.json"}}],"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"}]}