Skip to main content

FluidSynth EUVDEUVD-2026-83379

| CVE-2026-61720 MEDIUM
Integer Underflow (CWE-191)
2026-09-18 GitHub_M
6.2
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft SF2 with zero-sized DMOD chunk
  2. Delivery
    Deliver file to victim application
  3. Exploit
    Parser computes wrapped UINT_MAX count
  4. Execution
    Loop attempts billions of SFMod allocations
  5. Impact
    Process 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 chunk.size / SF_MOD_SIZE - 1 wraps to UINT_MAX for a zero-sized chunk, triggering billions of SFMod allocations and process memory exhaustion. Impact is purely availability (C:N/I:N) - no code execution, no data exposure. The AV:L (local) rating reflects that exploitation requires the target process to parse an attacker-supplied SF2 SoundFont file rather than a direct network service hit. No EPSS score, no CISA KEV listing, and no public POC are present in the provided data - status is 'no public exploit identified at time of analysis.' One notable tension: the vector states UI:N, yet realistic exploitation depends on the victim/application loading a malicious SF2 file, which usually implies some user or application-driven action - verify whether the target auto-loads SoundFonts. Net: real bug, trivially reproducible with a crafted file, but confined to DoS of a single process, so it warrants patching but is not a drop-everything item.

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

fluidsynth 2.5.0, < 2.5.6

Affected Packages

euvd fluidsynth_2_5_0 fix: 2.5.6

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

Vendor (GitHub_M) PRIMARY 6.2 MEDIUM
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.2 MEDIUM

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.

3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Sep 18, 2026 - 21:18 EUVD

DescriptionCVE.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

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
Popular open-source software synth library, embedded in many MIDI/audio apps and distros
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +31
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy