Description
The gmc_mmx function in libavcodec/x86/mpegvideodsp.c in FFmpeg 2.3 and 3.4 does not properly validate widths and heights, which allows remote attackers to cause a denial of service (integer signedness error and out-of-array read) via a crafted MPEG file.
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 | 7:3.4.1-1 | — |
| Debian 13 | ffmpeg | 7:3.4.1-1 | — |
| Debian 12 | ffmpeg | 7:3.4.1-1 | — |
| Debian 9 | ffmpeg | 7:3.2.10-1~deb9u1 | DSA-4099-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | qtwebengine-opensource-src | No fix yet | — |
| Ubuntu 25.10 | qtwebengine-opensource-src | No fix yet | — |
| Ubuntu 16.04 LTS | ffmpeg | 7:2.8.14-0ubuntu0.16.04.1 | — |
| Ubuntu 16.04 LTS | oxide-qt | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | qtwebengine-opensource-src | No fix yet | — |
| Ubuntu Pro 24.04 LTS | qtwebengine-opensource-src | No fix yet | — |
| Ubuntu Pro 22.04 LTS | qtwebengine-opensource-src | No fix yet | — |
| Ubuntu Pro 20.04 LTS | qtwebengine-opensource-src | No fix yet | — |
| Ubuntu Pro 18.04 LTS | qtwebengine-opensource-src | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 12 SP2 | ffmpeg | 3.4.2-14.1 | openSUSE-SU-2018:0476-1, openSUSE-SU-2018:0470-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ffmpeg-4 | 4.4-5.2 | openSUSE-SU-2024:10754-1 |
Advisories 4
- DSA-4099-1 ffmpeg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10754-1 ffmpeg-4-4.4-5.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2018:0470-1 Security update for ffmpeg SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2018:0476-1 Security update for ffmpeg SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2017-November/219748.html
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3516#c1
- https://github.com/FFmpeg/FFmpeg/commit/58cf31cee7a456057f337b3102a03206d833d5e8
- DSA-4099 vendor-advisory
- https://github.com/FFmpeg/FFmpeg/commit/27f8d386829689c346ff0cef00d3af57b9fb8903