CVE-2026-111136
CVE-2026-111136 · libInstPatch through 1.1.7 Heap Out-of-Bounds Write via ipatch_sf2_gen_is_valid
This page contains facts from public vulnerability sources. Check the original advisory before updating.
libInstPatch through 1.1.7 contains a heap out-of-bounds write vulnerability in the SoundFont 2 loader because ipatch_sf2_gen_is_valid() does not range-check generator IDs before the validity mask test. Attackers can supply crafted SF2 files with out-of-range pgen or igen generator IDs to write attacker-chosen values past the zone genarray, corrupting heap memory and crashing Swami or other consumers.
CVSS 6.9 · Medium · EPSS 0.2%
- Published
- Updated
Stack: system
Affected products and versions
libinstpatch
- Versions
- ≥ 0, ≤ 1.1.7: Affected (semver)
No fix published
libinstpatch Debian:12
- Versions
- 1.1.6-1
- 1.1.7-1
- 1.1.7-1.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libinstpatch Debian:13
- Versions
- 1.1.6-1
- 1.1.7-1
- 1.1.7-1.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libinstpatch Debian:14
- Versions
- 1.1.6-1
- 1.1.7-1
- 1.1.7-1.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libinstpatch Ubuntu:16.04:LTS
- Versions
- 1.0.0-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libinstpatch Ubuntu:18.04:LTS
- Versions
- 1.0.0-6
- 1.0.0-7
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libinstpatch Ubuntu:20.04:LTS
- Versions
- 1.0.0-7
- 1.1.2-2
- 1.1.2-2build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libinstpatch Ubuntu:22.04:LTS
- Versions
- 1.1.6-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libinstpatch Ubuntu:24.04:LTS
- Versions
- 1.1.6-1
- 1.1.6-1build1
- 1.1.6-1build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libinstpatch Ubuntu:26.10
- Versions
- 1.1.7-1.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libinstpatch Ubuntu:26.04:LTS
- Versions
- 1.1.6-1build2
- 1.1.7-1.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://hackmd.io/@haind-pwn/libinstpatch-sf2-generator-id-oob-write
- https://github.com/swami/libinstpatch/blob/4ff1939ccc24de204d41b3ab734fc1aece919184/libinstpatch/IpatchSF2Gen.c#L189-L205
- https://github.com/swami/libinstpatch/blob/4ff1939ccc24de204d41b3ab734fc1aece919184/libinstpatch/IpatchSF2Reader.c#L1355-L1370
- https://github.com/swami/libinstpatch/blob/4ff1939ccc24de204d41b3ab734fc1aece919184/libinstpatch/IpatchSF2Reader.c#L954-L969
- https://github.com/swami/libinstpatch
- https://www.vulncheck.com/advisories/libinstpatch-through-1.1.7-heap-out-of-bounds-write-via-ipatch-sf2-gen-is-valid
- https://nvd.nist.gov/vuln/detail/CVE-2026-111136