{"id":"CVE-2026-111136","revision":"5c253115433742d8a29ec91bb02fa95b","records":[{"revision":"5c253115433742d8a29ec91bb02fa95b","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-111136","aliases":[],"title":"libInstPatch through 1.1.7 Heap Out-of-Bounds Write via ipatch_sf2_gen_is_valid","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.","state":0,"publishedAt":"2026-10-15T18:57:29.888+00:00","modifiedAt":"2026-10-15T19:48:10.296+00:00","affected":[{"ecosystem":"https://github.com","name":"libinstpatch","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"swami\",\n                    \"product\": \"libinstpatch\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"1.1.7\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:github/swami/libinstpatch\",\n                    \"collectionURL\": \"https://github.com\",\n                    \"repo\": \"https://github.com/swami/libinstpatch\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","score":6.9,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","score":6.1,"severity":"MEDIUM"}],"references":["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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-111136","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-111136","identifiers":["CVE-2026-111136"]},"retained":false,"historicalAffected":[]}],"coverage":[]}