# CVE-2026-111156: libTiMidity through 0.2.8 Out-of-Bounds Access via SoundFont Preset Header

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-15T18:57:45.506Z
- Modified: 2026-10-16T18:25:45.343Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- sezero libtimidity: from 0.2.8 up to 0.2.8

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H`

## References

- <https://hackmd.io/@haind-pwn/libtimidity-soundfont-generator-oper-oob-write> (exploit, technical-description)
- <https://github.com/sezero/libtimidity/blob/a52adf6aee2635e2a16797213a089c2180e67757/src/sndfont.c#L199-L224> (technical-description)
- <https://github.com/sezero/libtimidity> (product)
- <https://www.vulncheck.com/advisories/libtimidity-through-0.2.8-out-of-bounds-access-via-soundfont-preset-header> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-111156](https://www.cve.org/CVERecord?id=CVE-2026-111156), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2026-111156](https://nvd.nist.gov/vuln/detail/CVE-2026-111156), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-111156 · Whole record: https://cve.day/CVE-2026-111156.json · Rebuilt by cve.day 2026-11-25T22:59:44.938Z
