Description
FFmpeg version n6.1 was discovered to contain a heap buffer overflow vulnerability in the draw_block_rectangle function of libavfilter/vf_codecview.c. This vulnerability allows attackers to cause undefined behavior or a Denial of Service (DoS) via crafted input.
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:7.0.1-3 | — |
| Debian 13 | ffmpeg | 7:7.0.1-3 | — |
| Debian 12 | ffmpeg | 7:5.1.7-0+deb12u1 | DSA-5985-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | ffmpeg | 7:6.1.1-3ubuntu5+esm1 | USN-6803-1 |
| Ubuntu Pro 22.04 LTS | ffmpeg | 7:4.4.2-0ubuntu0.22.04.1+esm4 | USN-6803-1 |
| Ubuntu Pro 20.04 LTS | ffmpeg | 7:4.2.7-0ubuntu0.1+esm5 | USN-6803-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | ffmpeg | 7:3.4.11-0ubuntu0.1+esm5 | USN-6803-1 |
| Ubuntu Pro 16.04 LTS | ffmpeg | 7:2.8.17-0ubuntu0.1+esm7 | USN-6803-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ffmpeg-5 | 5.1.4-5.1 | openSUSE-SU-2024:13888-1 |
| openSUSE Tumbleweed | ffmpeg-6 | 6.1.1-4.1 | openSUSE-SU-2024:13895-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | ffmpeg | 7.1.1-r0 | — |
| Alpine v3.23 | ffmpeg | 7.1.1-r0 | — |
Advisories 5
- USN-6803-1 ffmpeg vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DSA-5985-1 ffmpeg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:13888-1 ffmpeg-5-5.1.4-5.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13895-1 ffmpeg-6-6.1.1-4.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-0923 ffmpeg: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Aug 25, 2025
References
- https://github.com/FFmpeg/FFmpeg/blob/n6.1.1/libavfilter/vf_codecview.c#L220
- https://github.com/ffmpeg/ffmpeg/commit/99debe5f823f45a482e1dc08de35879aa9c74bd2
- https://gist.github.com/1047524396/b47d5efe3bc420fb91dbb77c73c0fff3
- FEDORA-2024-92780a83f9 vendor-advisory
- FEDORA-2024-55e7e839f1 vendor-advisory
- FEDORA-2024-3a548f46a8 vendor-advisory