CVE-2026-111154: libTiMidity through 0.2.8 Stack Out-of-Bounds Write via parse_gen in SoundFont Loader

Published Oct 15, 2026
·
Updated

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

Affected Software

1 affected component
libTiMidity libTiMidity<=0.2.8

Event History

Oct 15, 2026
CVE Published
via MITRE·06:57 PM
Data Sourced
via MITRE·06:57 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What does an attacker need to exploit this issue?

An attacker needs to supply a crafted SoundFont (.sf2) file containing out-of-range pgen or igen generator-operator values. Exploitation requires a user to interact with the malicious file, as reflected by the UI:R vector.

2

Who is exposed?

Applications or workflows that use libTiMidity to load SoundFont files are exposed when they process attacker-controlled or untrusted .sf2 files. The issue affects libTiMidity through version 0.2.8.

3

What can happen if a malicious SoundFont is loaded?

The crafted generator operators can cause chosen 16-bit values to be written near a stack Layer object. This can crash the application and corrupt stack memory.

4

What can be done before a fix is available?

Do not load untrusted .sf2 files, and restrict SoundFont inputs to files from trusted sources. Where possible, prevent users or external content from selecting arbitrary SoundFont files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203