FluidSynth: Heap-based buffer overrun for DLS samples
fluidsynth
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| FluidSynth fluidsynth |
| No fix yet |
Original description
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.
From the CVE record · GitHub_M