Description
A heap-use-after-free in the mpeg_mux_write_packet function in libavformat/mpegenc.c of FFmpeg 4.2 allows to cause a denial of service (DOS) via a crafted avi 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:4.4-5 | — |
| Debian 13 | ffmpeg | 7:4.4-5 | — |
| Debian 12 | ffmpeg | 7:4.4-5 | — |
| Debian 11 | ffmpeg | 7:4.3.3-0+deb11u1 | DSA-4998-1 |
| Debian 10 | ffmpeg | 7:4.1.9-0+deb10u1 | DSA-5126-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 22.04 LTS | ffmpeg | 7:4.4.2-0ubuntu0.22.04.1 | USN-5472-1 |
| Ubuntu 20.04 LTS | ffmpeg | 7:4.2.7-0ubuntu0.1 | USN-5472-1 |
| Ubuntu 18.04 LTS | ffmpeg | 7:3.4.11-0ubuntu0.1 | USN-5472-1 |
Show 6 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 | — |
| Ubuntu Pro 16.04 LTS | ffmpeg | 7:2.8.17-0ubuntu0.1+esm2 | USN-5167-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | ffmpeg | 3.4.2-11.8.2 | SUSE-SU-2021:2919-1 |
| SLES 15 SP2 | ffmpeg | 3.4.2-11.8.2 | SUSE-SU-2021:2919-1 |
| SLES 15 SP1 | ffmpeg | 3.4.2-4.34.2 | SUSE-SU-2021:2929-1 |
| SLES 15 | ffmpeg | 3.4.2-4.34.2 | SUSE-SU-2021:2929-1 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP1 | ffmpeg | 3.4.2-4.34.2 | SUSE-SU-2021:2929-1 |
| SLES for SAP 15 | ffmpeg | 3.4.2-4.34.2 | SUSE-SU-2021:2929-1 |
| SLE HPC 15 SP1 | ffmpeg | 3.4.2-4.34.2 | SUSE-SU-2021:2929-1 |
| SLE HPC 15 | ffmpeg | 3.4.2-4.34.2 | SUSE-SU-2021:2929-1 |
| SUSE Manager Server 4.0 | ffmpeg | 3.4.2-4.34.2 | SUSE-SU-2021:2929-1 |
| SUSE Manager Retail Branch Server 4.0 | ffmpeg | 3.4.2-4.34.2 | SUSE-SU-2021:2929-1 |
| SUSE Manager Proxy 4.0 | ffmpeg | 3.4.2-4.34.2 | SUSE-SU-2021:2929-1 |
| SUSE Enterprise Storage 6 | ffmpeg | 3.4.2-4.34.2 | SUSE-SU-2021:2929-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.3 | ffmpeg | 3.4.2-11.8.2 | openSUSE-SU-2021:2919-1 |
Advisories 7
- USN-5167-1 ffmpeg vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-5472-1 ffmpeg vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-5126-1 ffmpeg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-4998-1 ffmpeg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2021:2919-1 Security update for ffmpeg SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:2929-1 Security update for ffmpeg SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:2919-1 Security update for ffmpeg SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://trac.ffmpeg.org/ticket/8188
- DSA-4998 vendor-advisory