Description
A vulnerability was found in FFmpeg up to 7.0.1. It has been classified as critical. This affects the function pnm_decode_frame in the library /libavcodec/pnmdec.c. The manipulation leads to heap-based buffer overflow. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 7.0.2 is able to address this issue. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-273651.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | FFmpeg | 7.0.0, 7.0.1 | — |
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.2-1 | — |
| Debian 13 | ffmpeg | 7:7.0.2-1 | — |
| Debian 12 | ffmpeg | 7:5.1.6-0+deb12u1 | DSA-5748-1 |
| Debian 11 | ffmpeg | 7:4.3.8-0+deb11u1 | DLA-3928-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | ffmpeg | 7:6.1.1-3ubuntu5+esm5 | USN-7823-1 |
| Ubuntu Pro 22.04 LTS | ffmpeg | 7:4.4.2-0ubuntu0.22.04.1+esm9 | USN-7823-1 |
| Ubuntu Pro 20.04 LTS | ffmpeg | 7:4.2.7-0ubuntu0.1+esm10 | USN-7823-1 |
Show 3 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+esm10 | USN-7823-1 |
| Ubuntu Pro 16.04 LTS | ffmpeg | 7:2.8.17-0ubuntu0.1+esm12 | USN-7823-1 |
| Ubuntu Pro 14.04 LTS | libav | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | ffmpeg-4 | 4.4-150600.13.13.1 | SUSE-SU-2025:0862-1, SUSE-SU-2024:3301-1 |
| SLES 15 SP5 | ffmpeg-4 | 4.4-150400.3.42.1 | SUSE-SU-2024:3358-1 |
| SLES 15 SP4 | ffmpeg-4 | 4.4-150400.3.42.1 | SUSE-SU-2024:3358-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP4 | ffmpeg-4 | 4.4-150400.3.42.1 | SUSE-SU-2024:3358-1 |
| SLE HPC 15 SP4 | ffmpeg-4 | 4.4-150400.3.42.1 | SUSE-SU-2024:3358-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ffmpeg-4 | 4.4.4-14.1 | openSUSE-SU-2024:14343-1 |
| openSUSE Tumbleweed | ffmpeg-5 | 5.1.4-13.1 | openSUSE-SU-2024:14339-1 |
| openSUSE Tumbleweed | ffmpeg-6 | 6.1.1-9.1 | openSUSE-SU-2024:14344-1 |
| openSUSE Tumbleweed | ffmpeg-7 | 7.1-1.1 | openSUSE-SU-2024:14384-1 |
| openSUSE Leap 15.6 | ffmpeg-4 | 4.4-150600.13.13.1 | SUSE-SU-2025:0862-1, SUSE-SU-2024:3301-1 |
| openSUSE Leap 15.5 | ffmpeg-4 | 4.4-150400.3.42.1 | SUSE-SU-2024:3358-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 11
- USN-7823-1 ffmpeg vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-3928-1 ffmpeg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-5748-1 ffmpeg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2024:3301-1 Security update for ffmpeg-4 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14339-1 ffmpeg-5-5.1.4-13.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:3358-1 Security update for ffmpeg-4 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0862-1 Security update for ffmpeg-4 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14384-1 ffmpeg-7-7.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14343-1 ffmpeg-4-4.4.4-14.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14344-1 ffmpeg-6-6.1.1-9.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-1760 ffmpeg: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Oct 15, 2025
References
- VDB-273651 | FFmpeg pnmdec.c pnm_decode_frame heap-based overflow vdb-entry technical-description
- VDB-273651 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #376532 | GitHub FFmpeg 6.1.1 Buffer Overflow third-party-advisory
- https://github.com/CookedMelon/ReportCVE/tree/main/FFmpeg/poc3 exploit
- https://ffmpeg.org/download.html patch
- https://ffmpeg.org/ product