Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-111136 EUVD-2026-102263GHSA-6p4q-22pq-927g

libInstPatch through 1.1.7 Heap Out-of-Bounds Write via ipatch_sf2_gen_is_valid

Published Oct 15, 2026 · Updated Oct 15, 2026 · Assigned by VulnCheck

Description

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.

Affected products

VendorProductAffectedFixed
swami libinstpatch ≤ 1.1.7 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libinstpatch 1.1.8-1 —
Debian 13 libinstpatch No fix yet —
Debian 12 libinstpatch No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libinstpatch No fix yet —
Ubuntu 26.04 LTS libinstpatch No fix yet —
Ubuntu 24.04 LTS libinstpatch No fix yet —
Ubuntu 22.04 LTS libinstpatch No fix yet —
Ubuntu 20.04 LTS libinstpatch No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libinstpatch No fix yet —
Ubuntu 16.04 LTS libinstpatch No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libinstpatch 1.1.8-1.1 openSUSE-SU-2026:12199-1

Advisories 1

References