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.
Published: 2026-10-15
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Heap Out‑of‑Bounds Write that can corrupt heap memory and crash applications
Action: Apply Patch
AI Analysis

Impact

libInstPatch 1.1.7 and earlier contain a heap out‑of‑bounds write due to missing range checks on generator IDs in the SoundFont 2 loader. An attacker who supplies a crafted SF2 file can cause the loader to overwrite memory past the zone genarray, corrupting heap data and triggering a crash or, if the corrupted data is used in subsequent sensitive operations, potentially leading to arbitrary code execution. The vulnerability allows an attacker to influence the contents of the corrupted heap, but the description does not confirm remote code execution, only memory corruption and denial of service. The weakness is a classic buffer overrun (CWE‑787).

Affected Systems

The affected product is Swami’s libInstPatch, version 1.1.7 and all earlier releases. Any consumer that loads SF2 files with this library, including Swami itself and other applications that embed libInstPatch, is at risk. No specific operating system or platform is mentioned; the issue exists in the library’s source code on all supported platforms.

Risk and Exploitability

The CVSS score of 6.9 indicates medium severity. The EPSS score of less than 1 % suggests the probability of exploitation is low, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a local or privileged attacker who can supply a maliciously crafted SF2 file to an application that uses libInstPatch. Because memory corruption can cause a crash, the most immediate threat is denial of service, though the ability to write arbitrary data raises concerns about potential escalation or abuse if the corrupted memory is later used in a critical context.

Generated by OpenCVE AI on October 16, 2026 at 16:44 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libInstPatch to a version later than 1.1.7 where the out‑of‑bounds write is fixed.
  • If an upgrade is not immediately possible, add or patch client code to validate SF2 generator IDs before calling ipatch_sf2_gen_is_valid, ensuring IDs are within acceptable bounds.
  • Disable or restrict the loading of SF2 files in environments where the library cannot be updated, or use an alternative SoundFont loader that includes proper bounds checks.

Generated by OpenCVE AI on October 16, 2026 at 16:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 15 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 15 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
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.
Title libInstPatch through 1.1.7 Heap Out-of-Bounds Write via ipatch_sf2_gen_is_valid
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H'}

cvssV4_0

{'score': 6.9, '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-15T19:48:10.296Z

Reserved: 2026-10-15T17:03:55.076Z

Link: CVE-2026-111136

cve-icon Vulnrichment

Updated: 2026-10-15T19:47:55.347Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T19:17:27.490

Modified: 2026-10-16T18:25:45.343

Link: CVE-2026-111136

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T16:45:14Z

Weaknesses