Vulnerability · Published Aug 6, 2024 · Assigned by VulDB
CVE-2024-7055FFmpeg pnmdec.c pnm_decode_frame heap-based overflow
Medium 6.3
In plain English
A medium-severity heap buffer overflow in FFmpeg. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | ffmpeg | 7.1.1-r0 | ALPINE-CVE-2024-7055 |
| Alpine:v3.24 | ffmpeg | 7.1.1-r0 | ALPINE-CVE-2024-7055 |
| Debian:12 | ffmpeg | 7:5.1.6-0+deb12u1 | DEBIAN-CVE-2024-7055 |
| Debian:12 | ffmpeg | 7:5.1.6-0+deb12u1 | DSA-5748-1 |
| Debian:13 | ffmpeg | 7:7.0.2-1 | DEBIAN-CVE-2024-7055 |
| Debian:14 | ffmpeg | 7:7.0.2-1 | DEBIAN-CVE-2024-7055 |
Affected products (as reported)
Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
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
- https://lists.debian.org/debian-lts-announce/2024/10/msg00019.html