CVE-2026-111154

libTiMidity through 0.2.8 Stack Out-of-Bounds Write via parse_gen in SoundFont Loader

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

Analysis

AI-generated

Technical impact

libtimidity through version 0.2.8 contains a stack out-of-bounds write in the SoundFont loader, triggered by unchecked generator operators in parse_gen. A crafted .sf2 file with out-of-range pgen/igen values can write arbitrary 16-bit data near the stack Layer object, causing crashes or corruption of stack memory. The description implies a local attack vector, but remote exploitation is not explicitly stated.

Affected Systems

The vulnerability affects the libtimidity library (vendor sezero). Versions up to and including 0.2.8 are susceptible. No specific sub‑versions beyond 0.2.8 are listed, so all builds of libtimidity 0.2.8 and older are considered vulnerable. The product is typically used in multimedia applications that load .sf2 SoundFont files.

Risk and Exploitability

The CVSS score is 6.9, indicating a moderate severity. The EPSS score is less than 1%, suggesting a low probability of exploitation in the wild. The vulnerability is not listed in CISA's KEV catalog. Attackers need to provide a malicious .sf2 file to the program; thus the likely attack vector is local file supply or local privilege escalation if the application runs with elevated rights. The stack out-of-bounds write could cause application crashes or memory corruption.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libtimidity to a version newer than 0.2.8 that contains the buffer bounds check fix.
  • Validate .sf2 files to ensure generator operator values are within valid ranges before loading; if validation fails, refuse to load the file.
  • Run programs that load .sf2 files with restricted privileges and enable stack protection measures (e.g., ASLR, stack canaries) to reduce the impact of potential memory corruption.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Sezero
Sezero libtimidity
Vendors & Products Sezero
Sezero libtimidity
Type Values Removed Values Added
Description 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 parse_gen. 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.
Title libTiMidity through 0.2.8 Stack Out-of-Bounds Write via parse_gen in SoundFont Loader
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 26, 2026, 1:59 PM
Reserved
Oct 15, 2026, 5:04 PM
Status
Deferred
Published
Oct 15, 2026, 7:17 PM
Modified
Oct 26, 2026, 3:16 PM