Description
FFmpeg 4.0 before 4.4.9, 5.0 before 6.1.7, 7.0 before 7.1.6, 8.0 before 8.0.4, and 8.1 before 8.1.3 contains a NULL pointer dereference vulnerability in get_fragment() (named get_Fragment() before 8.0) in libavformat/dashdec.c, which passes the tokens that av_strtok() returns for a SegmentList Initialization range or SegmentURL mediaRange attribute to strtoll() without checking them for NULL. Attackers can supply a crafted DASH MPD manifest whose range or mediaRange attribute is empty or lacks a '-' separator, crashing applications that open it with the DASH demuxer.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FFmpeg | FFmpeg | 4.0 – < 4.4.9, 5.0 – < 6.1.7, 7.0 – < 7.1.6, 8.0 – < 8.0.4, 8.1 – < 8.1.3 | 4.4.9 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ffmpeg | No fix yet | — |
| Debian 13 | ffmpeg | No fix yet | — |
| Debian 12 | ffmpeg | No fix yet | — |
Advisories 1
- WID-SEC-2026-5009 ffmpeg: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Dec 3, 2026
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/23057
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23482
- https://github.com/FFmpeg/FFmpeg/commit/813c28d1ce216502ee21d4912980689ad60333d3
- https://github.com/FFmpeg/FFmpeg/commit/5e0ca682a43f3c3d2b443c0d86d6a3d4d6ad4dd7
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23666
- https://github.com/FFmpeg/FFmpeg/blob/n8.1.2/libavformat/dashdec.c#L584-L596
- https://github.com/FFmpeg/FFmpeg