FluidSynth
FluidSynth: Heap Buffer Overflow in MIDI Player
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.2.4, < 2.5.6
Fixed in 2.5.6
Mitigation
Upgrade fluidsynth to 2.5.6 or later.
References
- Vendor advisory github.com/FluidSynth/fluidsynth/security/advi…
- Patch github.com/FluidSynth/fluidsynth/commit/772702…
- Release notes github.com/FluidSynth/fluidsynth/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.