Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/swami/libinstpatch
- https://github.com/swami/libinstpatch/blob/4ff1939ccc24de204d41b3ab734fc1aece919
- https://github.com/swami/libinstpatch/blob/4ff1939ccc24de204d41b3ab734fc1aece919
- https://github.com/swami/libinstpatch/blob/4ff1939ccc24de204d41b3ab734fc1aece919
- https://hackmd.io/@haind-pwn/libinstpatch-sf2-generator-id-oob-write
- https://www.vulncheck.com/advisories/libinstpatch-through-1.1.7-heap-out-of-boun
- https://hackmd.io/@haind-pwn/libinstpatch-sf2-generator-id-oob-write
FAQ
What is CVE-2026-111136?
CVE-2026-111136 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 tes...
How severe is CVE-2026-111136?
CVE-2026-111136 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-111136?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.