CVE-2026-111156
libTiMidity through 0.2.8 Out-of-Bounds Access via SoundFont Preset Header
- State
- Published
- Severity
- 6.9 Medium
- Published
- Oct 15, 2026
- Updated
- Oct 15, 2026
- Reserved
- Oct 15, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 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 |
| 3.1 | 6.1 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H | VulnCheck |
Weaknesses
- CWE-787 Out-of-bounds Write
Affected Products
| Product | Versions |
|---|---|
libtimiditysezero |
|
References
- https://hackmd.io/@haind-pwn/libtimidity-soundfont-generator-oper-oob-writetechnical-descriptionexploit
- https://github.com/sezero/libtimidity/blob/a52adf6aee2635e2a16797213a089c2180e67757/src/sndfont.c#L199-L224technical-description
- https://github.com/sezero/libtimidityproduct
- VulnCheck Advisory: libTiMidity through 0.2.8 Out-of-Bounds Access via SoundFont Preset Headerthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.