Vulnerability · Published Oct 15, 2026 · Assigned by VulnCheck
CVE-2026-111156libTiMidity through 0.2.8 Out-of-Bounds Access via SoundFont Preset Header
Medium 6.1
In plain English
A medium-severity out-of-bounds write in libtimidity from sezero. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | timidity | no fix listed | DEBIAN-CVE-2026-111156 |
| Debian:13 | timidity | no fix listed | DEBIAN-CVE-2026-111156 |
| Debian:14 | timidity | no fix listed | DEBIAN-CVE-2026-111156 |
| Ubuntu:22.04:LTS | timidity | no fix listed | UBUNTU-CVE-2026-111156 |
| Ubuntu:24.04:LTS | timidity | no fix listed | UBUNTU-CVE-2026-111156 |
| Ubuntu:26.04:LTS | timidity | no fix listed | UBUNTU-CVE-2026-111156 |
| Ubuntu:26.10 | timidity | no fix listed | UBUNTU-CVE-2026-111156 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| sezero | libtimidity | 0.2.8 – through 0.2.8 |
Weakness: CWE-787 · Vector: 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 technical-description, exploit
- https://github.com/sezero/libtimidity/blob/a52adf6aee2635e2a16797213a089c2180e67757/src/sndfont.c#L199-L224 technical-description
- https://github.com/sezero/libtimidity product
- VulnCheck Advisory: libTiMidity through 0.2.8 Out-of-Bounds Access via SoundFont Preset Header third-party-advisory