Description
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.
Severity (CVSS)
| Base score | 7.8 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-122 — CWE-122: Heap-based Buffer Overflow
- CWE-125 — CWE-125: Out-of-bounds Read
- CWE-787 — CWE-787: Out-of-bounds Write
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FluidSynth | fluidsynth | >= 2.2.4, < 2.5.6 |
References
- https://github.com/FluidSynth/fluidsynth/security/advisories/GHSA-976m-35rw-h3m6 (x_refsource_CONFIRM)
- https://github.com/FluidSynth/fluidsynth/commit/772702e00cc6acc7c607efb40283e2269211effc (x_refsource_MISC)
- https://github.com/FluidSynth/fluidsynth/releases/tag/v2.5.6 (x_refsource_MISC)
Generated from the official CVE List on 19 Sep 2026 07:08 UTC.