CVE-2024-7055 json
FFmpeg pnmdec.c pnm_decode_frame heap-based overflow
published 2024-08-06 2 y ago modified 2026-07-23 3 mo ago also EUVD-2024-48054 , JLSEC-2025-133
- cvss
- 6.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia FFMPEG_jll 6.1.2+0
- julia FFplay_jll 7.1.0+0
- ffmpeg ffmpeg 4.3.8, 4.4.5, 5.1.6, 6.1.2, 7.0.2
- ffmpeg Debian 12 7:5.1.6-0+deb12u1
- ffmpeg Debian 14, Debian 13 7:7.0.2-1
debian advisories DEBIAN-CVE-2024-7055
- ffmpeg Ubuntu Pro 22.04 LTS 7:4.4.2-0ubuntu0.22.04.1+esm9
- ffmpeg Ubuntu Pro 24.04 LTS 7:6.1.1-3ubuntu5+esm5
ubuntu advisories UBUNTU-CVE-2024-7055
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ffmpeg-4 SLE Workstation Extension 15 SP6, SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 4.4.5-150600.13.16.1
- ffmpeg-4 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Workstation Extension 15 SP5 +4 more 4.4-150400.3.42.1
- ffmpeg-4 SLE Workstation Extension 15 SP6, SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 4.4-150600.13.13.1
suse advisories SUSE-SU-2025:0862-1SUSE-SU-2024:3358-1SUSE-SU-2024:3301-1
- ffmpeg-7 openSUSE Tumbleweed 7.1-1.1
- ffmpeg-4 openSUSE Tumbleweed 4.4.4-14.1
- ffmpeg-6 openSUSE Tumbleweed 6.1.1-9.1
- ffmpeg-5 openSUSE Tumbleweed 5.1.4-13.1
opensuse advisories openSUSE-SU-2024:14384-1openSUSE-SU-2024:14343-1openSUSE-SU-2024:14344-1openSUSE-SU-2024:14339-1
- ffmpeg Alpine 3.24, Alpine 3.23 7.1.1-r0
alpine advisories ALPINE-CVE-2024-7055
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ffmpeg.org/download.html patch
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-7055 updated cvss 6.3
ffmpeg: Heap-based buffer overflow in pnm_decode_frame in the library /libavcodec/pnmdec.c
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.44% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/CookedMelon/ReportCVE/tree/main/FFmpeg/poc3 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| CNA | 3.0 | 6.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| CNA | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| CNA | 4.0 | 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | FFMPEG_jll | <6.1.2+0 |
6.1.2+0 |
| julia | FFplay_jll | <7.1.0+0 |
7.1.0+0 |
Affected products
- n/a FFmpeg
Classification
References
-
ffmpeg.org
/download.html
patch, product, web
-
github.com
/CookedMelon/ReportCVE/tree/main/FFmpeg/poc3
exploit, third-party-advisory, web
-
vuldb.com
/?id.273651
vdb-entry, technical-description, third-party-advisory, web
-
vuldb.com
/?ctiid.273651
signature, permissions-required, vdb-entry, web
-
vuldb.com
/?submit.376532
third-party-advisory, vdb-entry, web
-
ffmpeg.org
/
product, web
-
lists.debian.org
/debian-lts-announce/2024/10/msg00019.html
web
Sources
- CVE List CVE-2024-7055
- NVD CVE-2024-7055
- OSV JLSEC-2025-133
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.