FluidSynth
FluidSynth: Heap-based buffer overrun for DLS samples
FluidSynth is a software synthesizer based on the SoundFont 2 specifications. From 2.5.0 until 2.5.6, the native DLS loader assigns file-controlled wsmp.loop_start and wsmp.loop_length values to samples without calling fluid_sample_validate() or fluid_sample_sanitize_loop(). A crafted DLS file can place sample loop points beyond the sample buffer, causing out-of-bounds reads during audio rendering, undefined behavior, possible memory disclosure, and denial of service. Builds compiled with the CMake option enable-native-dls set to OFF do not expose the affected parser. This issue is fixed in version 2.5.6.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.5.0, < 2.5.6
Fixed in 2.5.6
Mitigation
Upgrade fluidsynth to 2.5.6 or later.
References
- Vendor advisory github.com/FluidSynth/fluidsynth/security/advi…
- Patch github.com/FluidSynth/fluidsynth/commit/2354c2…
- Release notes github.com/FluidSynth/fluidsynth/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.