Skip to content
Heist/ feed
Back to feed
Medium

libTiMidity through 0.2.8 Out-of-Bounds Read via SoundFont Loader sndfont.c

Type: advisorySources: OSV

libTiMidity through 0.2.8 contains a heap out-of-bounds read vulnerability in the SoundFont loader in src/sndfont.c that uses unvalidated sampleId and instrument generator values as table indices. Attackers can supply a crafted .sf2 file loaded through mid_set_soundfont() to read heap memory out of bounds and crash the application.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-111155
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 14:08 UTC · Revision 1

Source evidence

libTiMidity through 0.2.8 Out-of-Bounds Read via SoundFont Loader sndfont.c

core-osv · Original source

Published 15 Oct 2026, 18:57 UTC

libTiMidity through 0.2.8 contains a heap out-of-bounds read vulnerability in the SoundFont loader in src/sndfont.c that uses unvalidated sampleId and instrument generator values as table indices. Attackers can supply a crafted .sf2 file loaded through mid_set_soundfont() to read heap memory out of bounds and crash the application.

osv:CVE-2026-111155
Complete source record
{
  "id": "ae59a29b4c02341e62339da1bf676901340cf2eedb0916ad04052475614293c8",
  "url": "https://osv.dev/vulnerability/CVE-2026-111155",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "libTiMidity through 0.2.8 Out-of-Bounds Read via SoundFont Loader sndfont.c",
    "summary": "libTiMidity through 0.2.8 contains a heap out-of-bounds read vulnerability in the SoundFont loader in src/sndfont.c that uses unvalidated sampleId and instrument generator values as table indices. Attackers can supply a crafted .sf2 file loaded through mid_set_soundfont() to read heap memory out of bounds and crash the application.",
    "evidence": "osv:CVE-2026-111155",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-111155",
      "aliases": [
        "CVE-2026-111155"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sezero/libtimidity",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a52adf6aee2635e2a16797213a089c2180e67757"
                },
                {
                  "last_affected": "a52adf6aee2635e2a16797213a089c2180e67757"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.2.8"
                      },
                      {
                        "last_affected": "0.2.8"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.2.8"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.2.8",
            "libtimidity-0.2.8"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111155.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.046389607Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111155.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-111155",
        "https://www.vulncheck.com/advisories/libtimidity-through-0.2.8-out-of-bounds-read-via-soundfont-loader-sndfont-c",
        "https://github.com/sezero/libtimidity",
        "https://github.com/sezero/libtimidity/blob/a52adf6aee2635e2a16797213a089c2180e67757/src/sndfont.c#L578-L590",
        "https://hackmd.io/@haind-pwn/libtimidity-soundfont-generator-oper-oob-write"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-125"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111155.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-111155",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503483,
  "published_at": "2026-10-15T18:57:43.192+00:00"
}