{
  "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-111154.json"
  },
  "details": "libTiMidity through 0.2.8 contains a stack out-of-bounds write vulnerability in the SoundFont loader that allows attackers to corrupt stack memory via unchecked generator operators in parse_gen. Attackers can supply a crafted .sf2 file with out-of-range pgen/igen operator values to write chosen 16-bit values near the stack Layer object, causing crashes and stack memory corruption.",
  "id": "CVE-2026-111154",
  "modified": "2026-10-17T02:30:30.192827159Z",
  "published": "2026-10-15T18:57:42.295Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111154.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111154"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/libtimidity-through-0.2.8-stack-out-of-bounds-write-via-parse-gen-in-soundfont-loader"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/sezero/libtimidity"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/sezero/libtimidity/blob/a52adf6aee2635e2a16797213a089c2180e67757/src/sndfont.c#L468-L480"
    },
    {
      "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 Stack Out-of-Bounds Write via parse_gen in SoundFont Loader"
}