Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft SF2 with zero-sized DMOD chunk
-
DeliveryDeliver file to victim application
-
ExploitParser computes wrapped UINT_MAX count
-
ExecutionLoop attempts billions of SFMod allocations
-
ImpactProcess memory exhausted, denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
|
| Exploitation Conditions | Requires the target to load an attacker-crafted SF2 (SoundFont 2) file whose DMOD chunk is smaller than one SF_MOD_SIZE record (specifically a zero-sized DMOD chunk) using an unpatched FluidSynth between 2.5.0 and 2.5.5. Exploitation is limited by the need to get the malicious SoundFont in front of a FluidSynth-based application and have it parsed (AV:L, local file processing); there is no network service path, no authentication is involved (PR:N), and impact is confined to crashing the parsing process (availability only). No configuration toggle is required - any code path that parses the SF2 info/DMOD chunk is affected. No workaround exists other than upgrading to 2.5.6. |
| Impact | This is a genuine but modest-priority availability issue, not a high-real-risk emergency. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 6.2 Medium) is internally consistent with the root cause: an unsigned integer underflow (CWE-191) in the SF2 DMOD chunk parser where |
| Exploit ScenarioDerived | An attacker crafts a malicious SF2 SoundFont file containing a zero-sized DMOD chunk and delivers it to a victim who loads it into an application using FluidSynth 2.5.0-2.5.5 (e.g., a MIDI player, game, or DAW). When the SF2 parser computes the modulator count, the unsigned subtraction wraps to UINT_MAX and the loader attempts billions of allocations, exhausting memory and crashing the process. No public exploit code is identified, but the trigger is trivial to construct from the described chunk manipulation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 18, 2026
Memory exhaustion and denial of service in FluidSynth 2.5.0 through 2.5.5 allows an attacker to crash any application that parses an attacker-supplied SoundFont 2 file. The SF2 parser derives the DMOD modulator count as chunk.size / SF_MOD_SIZE - 1 without first rejecting chunks smaller than a single record, so a zero-sized DMOD chunk underflows the unsigned subtraction to UINT_MAX and the loader attempts to allocate billions of SFMod structures until process memory is exhausted. Rated CVSS 6.2 (AV:L/AC:L/PR:N/UI:N, availability-only), the issue requires only that a crafted .sf2 file be loaded locally (no privileges and no user interaction beyond opening the file), no public exploit code or confirmed active exploitation has been identified at time of analysis, and the vendor-released patch is version 2.5.6.
RemediationAI
Upgrade to FluidSynth 2.5.6, the vendor-released patch version that adds the missing chunk.size < SF_MOD_SIZE lower-bound check in src/sfloader/fluid_sffile.c (fix commit 096e1ff0d09ddcac83d94923440706f76f94bc44, advisory GHSA-rmc4-c8hw-455w); 2.5.6 is the only confirmed remediation and no upstream workaround is available. Where immediate patching is not possible, compensating controls include: restrict the loader to SoundFonts from trusted/verified sources and reject or repack any .sf2 whose DMOD chunk is not a positive multiple of SF_MOD_SIZE using a pre-parse validation script (trade-off: breaks legitimate files with unusual but spec-permitted chunk layouts and adds a processing step); run FluidSynth-based applications that consume untrusted fonts inside a sandbox or container with a hard memory cap and process restart policy, so a UINT_MAX allocation burst fails fast instead of taking down the host (trade-off: crash/restart of the affected worker, still availability-impacting, plus container overhead); apply per-process address-space limits such as ulimit -v so the runaway allocation terminates the process rather than the system (trade-off: may interfere with legitimate memory- and sample-heavy synthesis sessions); and, since the trigger is local file parsing (AV:L), avoid opening unsolicited or untrusted .sf2/.sf3 attachments entirely. No vendor-issued mitigations other than the 2.5.6 upgrade are documented.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FluidSynth is a software synthesizer that loads SoundFont 2 (.sf2) and SF3 files, structured as RIFF chunks; the DMOD chunk holds modulator records and the parser expects chunk.size to be an exact multiple of SF_MOD_SIZE. In the vulnerable code path in src/sfloader/fluid_sffile.c, the modulator count is computed as chunk.size / SF_MOD_SIZE - 1 without a lower-bound check, which is the classic CWE-191 integer underflow class: because chunk.size is unsigned, a zero-length DMOD chunk yields 0 / SF_MOD_SIZE - 1, wrapping to UINT_MAX. The loader then iterates over that enormous count issuing SFMod allocations, exhausting heap memory and terminating the process. The upstream fix (commit 096e1ff0d09ddcac83d94923440706f76f94bc44) adds the missing guard chunk.size < SF_MOD_SIZE to the existing validity check, so malformed short or empty DMOD chunks are rejected rather than driving the count computation. Note the affected-version window in the description (2.5.0 until 2.5.6) and the CPE wildcard cpe:2.3:a:fluidsynth:fluidsynth:*:*:*:*:*:*:*:*, which indicates the CPE does not itself enumerate the precise vulnerable range - the authoritative range is the vendor's 2.5.0 to 2.5.5 window as stated in the advisory and confirmed by the fix landing in 2.5.6.
Know when Fluidsynth gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Local SF2 file parsing (AV:L) with trivial trigger (AC:L), no privileges, and availability-only memory-exhaustion impact (C:N/I:N/A:H); retained UI:N per vendor though file load arguably implies interaction.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Fluidsynth
View allfluidsynth-2.4.6 and earlier versions is vulnerable to Null pointer dereference in fluid_synth_monopoly.c, that can be t
Heap-based use-after-free in FluidSynth 2.5.0 through 2.5.1 built with native DLS support allows memory corruption when
Out-of-bounds heap write in FluidSynth's command handler lets an attacker supply an out-of-range channel argument to the
fluidsynth is a software synthesizer based on the SoundFont 2 specifications. Rated medium severity (CVSS 5.5), this vul
Out-of-bounds reads in FluidSynth 2.5.0 through 2.5.5 can be triggered when the process loads and renders an attacker-co
Out-of-bounds heap read and write in FluidSynth's MIDI player channel-tracking logic corrupts memory whenever the synth.
Out-of-bounds write in FluidSynth (versions through 2.6.1) allows an attacker to corrupt heap and stack memory by gettin
FluidSynth builds compiled with the native DLS parser enabled can be driven into a local denial of service by a crafted
A 32-bit integer overflow in FluidSynth's native DLS parser lets a crafted DLS sound-bank file bypass the ptbl chunk-siz
EUVD-2026-83379
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB