Description
FluidSynth is a software synthesizer based on the SoundFont 2 specifications. From versions 2.5.0 to before 2.5.2, a race condition during unloading of a DLS file can trigger a heap-based use-after-free. A concurrently running thread may be pending to unload a DLS file, leading to use of freed memory, if the synthesizer is being concurrently destroyed, or samples of the (unloaded) DLS file are concurrently used to synthesize audio. This issue has been patched in version 2.5.2. The problem will not occur, when explicitly unloading a DLS file (before synth destruction), provided that at the time of unloading, no samples of the respective file are used by active voices. The problem will not occur in versions of FluidSynth that have been compiled without native DLS support.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FluidSynth | fluidsynth | >= 2.5.0, < 2.5.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | fluidsynth | 2.5.2+dfsg-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | fluidsynth | No fix yet | — |
| Ubuntu 25.10 | fluidsynth | No fix yet | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | fluidsynth | No fix yet | — |
| Ubuntu Pro 24.04 LTS | fluidsynth | No fix yet | — |
| Ubuntu Pro 22.04 LTS | fluidsynth | No fix yet | — |
| Ubuntu Pro 20.04 LTS | fluidsynth | No fix yet | — |
| Ubuntu Pro 18.04 LTS | fluidsynth | No fix yet | — |
| Ubuntu Pro 16.04 LTS | fluidsynth | No fix yet | — |
| Ubuntu Pro 14.04 LTS | fluidsynth | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | fluidsynth | 2.5.2-1.1 | openSUSE-SU-2026:10004-1 |
Advisories 1
- openSUSE-SU-2026:10004-1 fluidsynth-2.5.2-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
References
- https://github.com/FluidSynth/fluidsynth/security/advisories/GHSA-ffw2-xvvp-39ch
- https://github.com/FluidSynth/fluidsynth/issues/1717
- https://github.com/FluidSynth/fluidsynth/issues/1728
- https://github.com/FluidSynth/fluidsynth/commit/685e54cdc44911ace31774260bd0c9ec89887491
- https://github.com/FluidSynth/fluidsynth/commit/962b9946b5cb6b16f0c08b89dd1b7016d4fce886