What’s Vulnerable › Vulnerabilities
CVE-2024-7055: FFmpeg pnmdec.c pnm_decode_frame heap-based overflow
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-06 · updated 2026-06-17
- Weakness: CWE-122
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
- FFmpeg: before 4.3.8; from 4.4 before 4.4.5; from 5.0 before 5.1.6; from 6.0 before 6.1.2; from 7.0 before 7.0.2 — fixed in 4.3.8, 4.4.5, 5.1.6, 6.1.2, 7.0.2
How to fix
Upgrade to a fixed version: FFmpeg 4.3.8, 4.4.5, 5.1.6, 6.1.2. Check the vendor advisory for mitigations.
References
- https://ffmpeg.org/
- https://ffmpeg.org/download.html
- https://github.com/CookedMelon/ReportCVE/tree/main/FFmpeg/poc3
- https://vuldb.com/?ctiid.273651
- https://vuldb.com/?id.273651
- https://vuldb.com/?submit.376532
- https://lists.debian.org/debian-lts-announce/2024/10/msg00019.html
Get alerted when CVE-2024-7055 or the next vulnerability affects your stack