CVE-2026-111136
mediumlibInstPatch 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 g…
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:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/swami/libinstpatch disclosure@vulncheck.com
- https://github.com/swami/libinstpatch/blob/4ff1939ccc24de204d41b3ab734fc1aece919184/libins... disclosure@vulncheck.com
- https://github.com/swami/libinstpatch/blob/4ff1939ccc24de204d41b3ab734fc1aece919184/libins... disclosure@vulncheck.com
- https://github.com/swami/libinstpatch/blob/4ff1939ccc24de204d41b3ab734fc1aece919184/libins... disclosure@vulncheck.com
- https://hackmd.io/@haind-pwn/libinstpatch-sf2-generator-id-oob-write disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/libinstpatch-through-1.1.7-heap-out-of-bounds-write-v... disclosure@vulncheck.com
- https://hackmd.io/@haind-pwn/libinstpatch-sf2-generator-id-oob-write 134c704f-9b21-4f2e-91b3-4a467353bcc0
