{"id":"CVE-2026-111136","aliases":["CVE-2026-111136"],"related":[],"kind":"vulnerability","state":"published","title":"libInstPatch through 1.1.7 Heap Out-of-Bounds Write via ipatch_sf2_gen_is_valid","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-15T18:57:29.888Z","modified":"2026-10-16T18:25:45.343Z","severity":{"scorer":"VulnCheck","scheme":"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,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"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,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"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,"rating":"MEDIUM"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.1.7","status":"affected"}],"vendor":"swami","product":"libinstpatch","repo":"https://github.com/swami/libinstpatch","source":"cvelist"}],"references":[{"url":"https://hackmd.io/@haind-pwn/libinstpatch-sf2-generator-id-oob-write","tags":["exploit","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/swami/libinstpatch/blob/4ff1939ccc24de204d41b3ab734fc1aece919184/libinstpatch/IpatchSF2Gen.c#L189-L205","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/swami/libinstpatch/blob/4ff1939ccc24de204d41b3ab734fc1aece919184/libinstpatch/IpatchSF2Reader.c#L1355-L1370","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/swami/libinstpatch/blob/4ff1939ccc24de204d41b3ab734fc1aece919184/libinstpatch/IpatchSF2Reader.c#L954-L969","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/swami/libinstpatch","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/libinstpatch-through-1.1.7-heap-out-of-bounds-write-via-ipatch-sf2-gen-is-valid","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["HaiND from the Post and Telecommunication Institute of Technology"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-10-15T19:47:44.671Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-111136","url":"https://www.cve.org/CVERecord?id=CVE-2026-111136","licence":"CVE Terms of Use","modified":"2026-10-15T19:48:10.296Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-111136","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111136","licence":"Public domain","modified":"2026-10-16T18:25:45.343Z"}],"updatedAt":"2026-11-25T22:59:44.932Z","epss":{"score":0.00172,"percentile":0.03844,"date":"2026-11-30T12:00:22.000Z"}}