Description
FluidSynth is a software synthesizer based on the SoundFont 2 specifications. From 2.5.0 until 2.5.6, the native DLS parser validates ptbl chunks with the unsigned expression cues * 4 + cbsize without checking whether the multiplication and addition fit in 32 bits. A crafted DLS file can supply a large cues value that wraps the expression and passes the chunk-size check, causing poolcues.resize(cues) to request approximately four gigabytes and the parser to read billions of entries beyond the chunk boundary. The excessive allocation and invalid reads can cause denial of service. Builds with enable-native-dls set to OFF are not exposed. This issue is fixed in version 2.5.6.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FluidSynth | fluidsynth | >= 2.5.0, < 2.5.6 | — |
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.6+dfsg-1 | — |
Ubuntu
Security tracker ↗| 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 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |