Description
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.
Published: 2026-10-15
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Memory Corruption
Action: Patch
AI Analysis

Impact

libTiMidity through version 0.2.8 contains an out‑of‑bounds memory access in the function init_soundfont() located in src/sndfont.c. When a SoundFont preset header provides a bank or preset index that exceeds the 128‑entry tonebank or drumset arrays, the program reads or writes beyond the intended array bounds, corrupting heap memory. This corruption can cause the application to crash and, if an attacker controls the overwritten data, may lead to further compromise of the process.

Affected Systems

The vulnerable code is present in the open‑source project libTiMidity maintained by sezero. All releases up to and including 0.2.8 are affected; versions newer than 0.2.8 are presumed to include the fix, though the exact patch release is not documented here.

Risk and Exploitability

The CVSS score of 6.9 classifies the vulnerability as moderate. An EPSS score of less than 1% indicates a low likelihood of exploitation in the wild, and the vulnerability is not listed in the CISA KEV catalog. Attackers would need to supply a specially crafted, untrusted .sf2 file that the target system processes; this might occur through file uploads, downloads, or manual opening of the file. Successful exploitation can corrupt heap memory and cause crashes, and the extent to which it enables remote code execution depends on the attacker’s ability to overwrite critical control data.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libTiMidity to a release newer than 0.2.8, which includes the memory‑boundary check.
  • Verify that any .sf2 files processed by the system originate from trusted sources; if possible, reject or quarantine untrusted files before they reach libTiMidity.
  • Monitor application and operating‑system logs for abnormal crashes or memory‑corruption errors during .sf2 file processing, and investigate any incidents promptly.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Sezero
Sezero libtimidity
Vendors & Products Sezero
Sezero libtimidity

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 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.
Title libTiMidity through 0.2.8 Out-of-Bounds Access via SoundFont Preset Header
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

Sezero Libtimidity
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-15T19:35:40.462Z

Reserved: 2026-10-15T17:04:02.006Z

Link: CVE-2026-111156

cve-icon Vulnrichment

Updated: 2026-10-15T19:35:03.277Z

cve-icon NVD

Status : Deferred

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

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

Link: CVE-2026-111156

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T12:56:04Z

Weaknesses