CVE-2026-111156

libTiMidity through 0.2.8 Out-of-Bounds Access via SoundFont Preset Header

Published Oct 15, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
First Time appeared Sezero
Sezero libtimidity
Vendors & Products Sezero
Sezero libtimidity
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 15, 2026, 7:35 PM
Reserved
Oct 15, 2026, 5:04 PM
Status
Deferred
Published
Oct 15, 2026, 7:17 PM
Modified
Oct 16, 2026, 6:25 PM