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.
Published: 2026-10-15
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stack out-of-bounds write leading to potential stack memory corruption and application crashes
Action: Apply Patch
AI Analysis

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.

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

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

History

Mon, 26 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


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 19:00:00 +0000

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


Subscriptions

Sezero Libtimidity
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-26T13:59:28.259Z

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

Link: CVE-2026-111154

cve-icon Vulnrichment

Updated: 2026-10-26T13:59:23.487Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-10-26T15:16:37.653

Link: CVE-2026-111154

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses