FFmpeg through 9.0.2 contains a denial of service vulnerability in the DASH demuxer that allows attackers to trigger an infinite loop by supplying an empty SegmentTemplate media URL. Attackers can craft an .mpd manifest declaring SegmentTemplate media="" so get_current_fragment() calls av_strireplace() with an empty search string, consuming CPU indefinitely.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/ed27bfcbbbc0872c0195eaf4dd2c0c93b9f1778e Patch
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24592 Issue Tracking, Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.7 · ffmpegNVD modified 2026-10-14 23:55
Affected (CPE criteria) 1
cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
References 6
- https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/ed27bfcbbbc0872c0195eaf4dd2c0c93b9f1778e Patch
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24592 Issue Tracking, Patch
- https://ffmpeg.org/ Product
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/dashdec.c#L1726 Product
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavutil/avstring.c#L230-L238 Product
- https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-dash-demuxer-infinite-loop-via-empty-segmenttemplate-media Third Party Advisory