{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.2.8"
              },
              {
                "last_affected": "0.2.8"
              },
              {
                "introduced": "0"
              },
              {
                "fixed": "0.2.8"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "a52adf6aee2635e2a16797213a089c2180e67757"
            },
            {
              "fixed": "a52adf6aee2635e2a16797213a089c2180e67757"
            }
          ],
          "repo": "https://github.com/sezero/libtimidity",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.2.8"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111156.json"
  },
  "details": "libTiMidity through 0.2.8 contains an out-of-bounds access vulnerability in init_soundfont() in src/sndfont.c that allows attackers to corrupt memory by supplying unvalidated SF2 preset header bank and preset values. Attackers can craft a .sf2 file whose bank or preset indexes past the 128-entry tonebank or drumset arrays, causing heap memory reads, writes, and application crashes.",
  "id": "CVE-2026-111156",
  "modified": "2026-10-17T02:31:10.417304040Z",
  "published": "2026-10-15T18:57:45.506Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111156.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111156"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/libtimidity-through-0.2.8-out-of-bounds-access-via-soundfont-preset-header"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/sezero/libtimidity"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/sezero/libtimidity/blob/a52adf6aee2635e2a16797213a089c2180e67757/src/sndfont.c#L199-L224"
    },
    {
      "type": "EVIDENCE",
      "url": "https://hackmd.io/@haind-pwn/libtimidity-soundfont-generator-oper-oob-write"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "libTiMidity through 0.2.8 Out-of-Bounds Access via SoundFont Preset Header"
}