Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSet synth.midi-channels above 16
-
DeliveryStart MIDI player playback
-
ExploitPlayer loop indexes channel_isplaying out of bounds
-
ExecutionHeap OOB read/write corrupts adjacent memory
-
ImpactConfidentiality/integrity/availability impact
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the FluidSynth configuration setting synth.midi-channels to be set above its default value of 16; the vulnerable out-of-bounds path does not exist at the default of 16. Once mis-configured, the FluidSynth MIDI player must actually run/play (UI:R) to walk the oversized channel loops - no specially crafted MIDI file is needed. Exploitation is local (AV:L), so an attacker needs the ability to influence the FluidSynth configuration or run playback in that configured environment; default installations are not exposed, which is the primary limiting factor on real-world risk. |
| Impact | CVSS 3.1 scores this 7.8 (High) with AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, but the real-world risk is materially lower than that number implies because exploitation is gated behind a non-default operator configuration. The CVSS vector correctly uses AV:L (local library, no network path) and UI:R (a MIDI file must be played through the player), yet PR:N is misleading: the vulnerable state only exists when someone sets synth.midi-channels above the default of 16, which is an operator/configuration action rather than a classic attacker input. The description is explicit that no crafted MIDI file is required - the out-of-bounds indexing is created by the channel-count setting itself - so this behaves more like a self-inflicted robustness/memory-safety defect than a remotely weaponizable exploit primitive. No EPSS score, no CISA KEV listing, and no public POC were provided, and the source is a GitHub advisory with a confirming commit rather than any exploitation report. Net assessment: a legitimate heap out-of-bounds read/write worth patching, but a lower operational priority than the 7.8 suggests, since default deployments (midi-channels=16) are not on the vulnerable path. |
| Exploit ScenarioDerived | An operator or an application embedding libfluidsynth configures synth.midi-channels to a value greater than 16 (e.g., for extended multi-timbral setups); when the MIDI player then runs, its per-channel loops walk past the fixed 16-entry channel_isplaying heap array, reading and writing adjacent heap memory. No crafted MIDI file is needed - ordinary playback triggers the out-of-bounds access, potentially corrupting heap state for confidentiality, integrity, or availability impact. No public proof-of-concept exploit was identified in the provided intelligence. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 18, 2026
Out-of-bounds heap read and write in FluidSynth's MIDI player channel-tracking logic corrupts memory whenever the synth.midi-channels setting is configured above its default of 16, letting a local user who can influence that configuration crash the synthesizer and potentially achieve memory corruption with confidentiality, integrity and availability impact in the playing process. All releases from 2.2.4 up to but not including 2.5.6 are affected; the unsafe state is created by configuration alone plus ordinary playback, so no specially crafted MIDI file is required. No public exploit code and no confirmed active exploitation (CISA KEV) have been identified at time of analysis, and although the assessed CVSS 3.1 score is 7.8 High (AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H), the real-world risk is materially lower because default installations that leave synth.midi-channels at 16 never reach the vulnerable path.
RemediationAI
Upgrade to FluidSynth 2.5.6 or later, which contains the vendor-released fix (commit 772702e00cc6acc7c607efb40283e2269211effc, release https://github.com/FluidSynth/fluidsynth/releases/tag/v2.5.6; advisory https://github.com/FluidSynth/fluidsynth/security/advisories/GHSA-976m-35rw-h3m6). If upgrading is not immediately possible, set synth.midi-channels back to its default of 16 (or any value at or below 16) in every fluidsynth configuration file and command-line invocation, since the vulnerable loops are only walked when the channel count exceeds the fixed 16-entry allocation; the trade-off is that MIDI content or routing that genuinely needs more than 16 channels/ports will lose events or polyphony, so this should be treated as a temporary containment measure. Because the trigger is configuration rather than a malformed MIDI file, file-scanning or input sanitization of MIDI assets provides no protection; instead restrict write access to FluidSynth configuration locations (system-wide config, per-user config such as the ~/.config/fluidsynth paths, and any service startup scripts or wrappers that pass synth.midi-channels) so that local users cannot raise the channel count, and audit existing deployments for any non-default channel settings. Note that exploitation is local (AV:L) and requires limited privileges to influence the configuration plus playback to occur, so restricting shell/desktop access and avoiding running FluidSynth as a privileged or shared service on top of an elevated channel count are effective compensating controls until patching is complete.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FluidSynth is a SoundFont 2 based software synthesizer whose MIDI player (src/midi/fluid_midi.c) tracks which logical channels are currently sounding in the fixed-size heap array _fluid_player_t::channel_isplaying, allocated for MAX_NUMBER_OF_CHANNELS (16). This is a CWE-122 heap-based buffer overflow: the player's event dispatch and callback loops were bounded by the runtime configuration value synth->midi_channels rather than by the compile-time array size, and note-on handling indexed player->channel_isplaying[event->channel] directly, so setting synth.midi_channels above 16 causes indexes beyond the allocation to be read and written during playback. The upstream fix (commit 772702e00cc6acc7c607efb40283e2269211effc, shipped in v2.5.6) clamps the index with event->channel % MAX_NUMBER_OF_CHANNELS and changes the fluid_player_callback loops to iterate to MAX_NUMBER_OF_CHANNELS instead of synth->midi_channels, eliminating the oversized iteration range. Because the trigger is the operator-supplied channel-count configuration and not parsed file content, ordinary valid MIDI playback is sufficient to exercise the out-of-bounds accesses.
Know when Fluidsynth gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Exploitation depends on a non-default operator-controlled config (synth.midi-channels>16), so PR:L and AC:H; local library path (AV:L) with playback interaction (UI:R) and heap corruption plausibly reaching C/I/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
FluidSynth is a software synthesizer based on the SoundFont 2 specifications. From 2.2.4 until 2.5.6, configuring synth.midi-channels above 16 allows the MIDI player to index _fluid_player_t::channel_isplaying outside its fixed-size heap allocation while tracking active channels. The resulting out-of-bounds reads and writes invoke undefined behavior and may compromise confidentiality, integrity, or availability. No crafted MIDI file is required because the unsafe condition is created by the channel-count configuration itself. Keeping synth.midi-channels at its default value of 16 avoids the vulnerable path. This issue is fixed in version 2.5.6.
Technical POC Analysis
CWE-122 (heap-based buffer overflow); the advisory also files it under CWE-125 (out-of-bounds read) and CWE-787 (out-of-bounds write).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
FluidSynth contains a high-severity memory corruption flaw that can be triggered when its MIDI channel setting is raised above the default 16, affecting applications that rely on non-standard configurations. The risk is primarily local and requires a low-privileged user to influence configuration, so default installations are not exposed to the vulnerable path. Leadership should care because unpatched, misconfigured deployments may suffer crashes or memory integrity compromise, but overall business exposure is limited to environments that deviate from default settings.
No vendor-released patch identified at time of analysis. Set synth.midi-channels to 16 or lower, prevent local users from modifying FluidSynth configuration, monitor for crashes, and isolate applications that require non-default channel counts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
More in Fluidsynth
View allfluidsynth-2.4.6 and earlier versions is vulnerable to Null pointer dereference in fluid_synth_monopoly.c, that can be t
Heap-based use-after-free in FluidSynth 2.5.0 through 2.5.1 built with native DLS support allows memory corruption when
Out-of-bounds heap write in FluidSynth's command handler lets an attacker supply an out-of-range channel argument to the
fluidsynth is a software synthesizer based on the SoundFont 2 specifications. Rated medium severity (CVSS 5.5), this vul
Out-of-bounds reads in FluidSynth 2.5.0 through 2.5.5 can be triggered when the process loads and renders an attacker-co
Out-of-bounds write in FluidSynth (versions through 2.6.1) allows an attacker to corrupt heap and stack memory by gettin
FluidSynth builds compiled with the native DLS parser enabled can be driven into a local denial of service by a crafted
A 32-bit integer overflow in FluidSynth's native DLS parser lets a crafted DLS sound-bank file bypass the ptbl chunk-siz
Memory exhaustion and denial of service in FluidSynth 2.5.0 through 2.5.5 allows an attacker to crash any application th
EUVD-2026-83376
NVD
CVE.org
EPSS
GitHub
Exploit-DB