FFmpeg up to 7.0.1 /libavcodec/pnmdec.c pnm_decode_frame heap-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.9 | $0-$5k | 0.00 |
Summary
A vulnerability was found in FFmpeg up to 7.0.1. It has been rated as critical. This issue affects the function pnm_decode_frame in the library /libavcodec/pnmdec.c. Performing a manipulation results in heap-based overflow.
This vulnerability is identified as CVE-2024-7055. The attack can be initiated remotely. Additionally, an exploit exists.
Upgrading the affected component is advised.
Details
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 with an unknown input leads to a heap-based overflow vulnerability. CWE is classifying the issue as CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). This is going to have an impact on confidentiality, integrity, and availability.
It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2024-7055. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. It demands that the victim is doing some kind of user interaction. Technical details and a public exploit are known.
The exploit is shared for download at github.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 209442 (Debian dla-3928 : ffmpeg - security update), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 7.0.2 eliminates this vulnerability. The upgrade is hosted for download at ffmpeg.org.
The vulnerability is also documented in the databases at Tenable (209442) and CERT Bund (WID-SEC-2024-1760). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Affected
- Debian Linux
- Fedora Linux
- Ubuntu Linux
- SUSE Linux
- SUSE openSUSE
- Open Source ffmpeg
Product
Type
Name
Version
License
Website
- Product: https://ffmpeg.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CNA CVSS-B Score: 🔍
CNA CVSS-BT Score: 🔍
CNA Vector: 🔍
CVSSv3
VulDB Meta Base Score: 7.1VulDB Meta Temp Score: 6.9
VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.8
NVD Vector: 🔍
CNA Base Score: 6.3
CNA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Heap-based overflowCWE: CWE-122 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 209442
Nessus Name: Debian dla-3928 : ffmpeg - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: FFmpeg 7.0.2
Timeline
08/06/2024 🔍08/06/2024 🔍
10/16/2025 🔍
Sources
Product: ffmpeg.orgAdvisory: poc3
Status: Confirmed
CVE: CVE-2024-7055 (🔍)
GCVE (CVE): GCVE-0-2024-7055
GCVE (VulDB): GCVE-100-273651
CERT Bund: WID-SEC-2024-1760 - ffmpeg: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 08/06/2024 07:40Updated: 10/16/2025 22:53
Changes: 08/06/2024 07:40 (58), 08/06/2024 07:42 (1), 10/23/2024 21:23 (3), 03/16/2025 00:10 (3), 06/04/2025 05:41 (45), 10/16/2025 22:53 (7)
Complete: 🔍
Submitter: CookedMelon
Cache ID: 216::103
Submit
Accepted
- Submit #376532: GitHub FFmpeg 6.1.1 Buffer Overflow (by CookedMelon)
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.