CVE Catalog

CVE-2026-111155

MediumCVSS 6.1
Published: Translated: NVD NIST

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.

Risk Assessment

The vulnerability can lead to application crashes (denial of service) and potential heap memory data leakage. The risk affects applications loading untrusted SoundFont (.sf2) files.

Recommendation

Update libTiMidity to a version newer than 0.2.8 if available, or avoid loading untrusted .sf2 files. Consider validating sampleId and generator values before using them as table indices.

Other vulnerabilities in libTiMidity

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS