CVE-2026-111136: libInstPatch through 1.1.7 Heap Out-of-Bounds Write via ipatch_sf2_gen_is_valid

Published Oct 15, 2026
·
Updated

libInstPatch through 1.1.7 contains a heap out-of-bounds write vulnerability in the SoundFont 2 loader because ipatchsf2genisvalid() 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 Software

1 affected component
libInstPatch libInstPatch<=1.1.7

Event History

Oct 15, 2026
CVE Published
via MITRE·06:57 PM
Data Sourced
via MITRE·06:57 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications that use affected libInstPatch versions to load SoundFont 2 files are exposed, including Swami and other consumers of the library. The vulnerable path is the SoundFont 2 loader.

2

What does an attacker need to exploit it?

An attacker needs to get a crafted SF2 file processed by the affected loader. The malicious file contains out-of-range pgen or igen generator IDs.

3

What is the likely impact of processing a malicious file?

The crafted generator IDs can cause attacker-chosen values to be written past the zone genarray, corrupting heap memory. This can crash the consuming application.

4

How can I determine whether a file may be attempting to trigger the flaw?

Inspect SF2 pgen and igen generator IDs for values outside the valid generator-ID range before loading the file. The vulnerable behavior occurs because those IDs are not range-checked before the validity-mask test.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203