Affected versions
Ubuntu16.04:LTS/timidity
- Affected versions
- * || =2.13.2-40.2build1 || =2.13.2-40.3
- Fixed version
- Not reported
Ubuntu18.04:LTS/timidity
- Affected versions
- * || =2.13.2-40.5 || =2.13.2-41
- Fixed version
- Not reported
Ubuntu20.04:LTS/timidity
- Affected versions
- * || =2.14.0-8build1
- Fixed version
- Not reported
Ubuntu22.04:LTS/timidity
- Affected versions
- * || =2.14.0-8build1 || =2.14.0-8ubuntu1 || =2.14.0-8ubuntu1.22.04.1
- Fixed version
- Not reported
Ubuntu24.04:LTS/timidity
- Affected versions
- * || =2.14.0-8.1ubuntu1 || =2.14.0-8.1ubuntu4 || =2.14.0-8.2ubuntu1
- Fixed version
- Not reported
Ubuntu26.04:LTS/timidity
- Affected versions
- * || =2.14.0-8.3ubuntu1
- Fixed version
- Not reported
Ubuntu26.10/timidity
- Affected versions
- * || =2.14.0-8.3ubuntu1 || =2.14.0-8.4ubuntu1
- Fixed version
- Not reported
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.
Links
- https://github.com/sezero/libtimidity
- https://github.com/sezero/libtimidity/blob/a52adf6aee2635e2a16797213a089c2180e67757/src/sndfont.c#L199-L224
- https://hackmd.io/@haind-pwn/libtimidity-soundfont-generator-oper-oob-write
- https://ubuntu.com/security/CVE-2026-111156
- https://www.cve.org/CVERecord?id=CVE-2026-111156
- https://www.vulncheck.com/advisories/libtimidity-through-0.2.8-out-of-bounds-access-via-soundfont-preset-header

