Vulnerability · Published Oct 15, 2026 · Assigned by VulnCheck
CVE-2026-111154libTiMidity through 0.2.8 Stack Out-of-Bounds Write via parse_gen in SoundFont Loader
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 a stack out-of-bounds write vulnerability in the SoundFont loader that allows attackers to corrupt stack memory via unchecked generator operators in parse_gen. Attackers can supply a crafted .sf2 file with out-of-range pgen/igen operator values to write chosen 16-bit values near the stack Layer object, causing crashes and stack memory corruption.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | timidity | no fix listed | DEBIAN-CVE-2026-111154 |
| Debian:13 | timidity | no fix listed | DEBIAN-CVE-2026-111154 |
| Debian:14 | timidity | no fix listed | DEBIAN-CVE-2026-111154 |
| Ubuntu:22.04:LTS | timidity | no fix listed | UBUNTU-CVE-2026-111154 |
| Ubuntu:24.04:LTS | timidity | no fix listed | UBUNTU-CVE-2026-111154 |
| Ubuntu:26.04:LTS | timidity | no fix listed | UBUNTU-CVE-2026-111154 |
| Ubuntu:26.10 | timidity | no fix listed | UBUNTU-CVE-2026-111154 |
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#L468-L480 technical-description
- https://github.com/sezero/libtimidity product
- VulnCheck Advisory: libTiMidity through 0.2.8 Stack Out-of-Bounds Write via parse_gen in SoundFont Loader third-party-advisory