Description
FluidSynth is a software synthesizer based on the SoundFont 2 specifications. From 2.5.0 until 2.5.6, the SF2 parser computes the DMOD modulator count as chunk.size / SF_MOD_SIZE - 1 without rejecting chunks smaller than one record. A crafted SF2 file containing a zero-sized DMOD chunk makes the unsigned subtraction wrap to UINT_MAX, and the parser then attempts billions of SFMod allocations. This exhausts process memory and causes denial of service. No workaround is available. This issue is fixed in version 2.5.6.
Severity (CVSS)
| Base score | 6.2 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Provided by | CNA |
Weaknesses
- CWE-191 — CWE-191: Integer Underflow (Wrap or Wraparound)
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FluidSynth | fluidsynth | >= 2.5.0, < 2.5.6 |
References
- https://github.com/FluidSynth/fluidsynth/security/advisories/GHSA-rmc4-c8hw-455w (x_refsource_CONFIRM)
- https://github.com/FluidSynth/fluidsynth/commit/096e1ff0d09ddcac83d94923440706f76f94bc44 (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.