CVE-2024-7055 FFmpeg pnmdec.c pnm_decode_frame heap-based overflow
MediumCVSS 6.9
EPSS 1.4%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 8 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/ffmpeg(Alpine v3.23) | >= 7.0, < 7.1.1-r0 | 7.1.1-r0 | Fixed |
| alpine/ffmpeg(Alpine v3.24) | >= 7.0, < 7.1.1-r0 | 7.1.1-r0 | Fixed |
| debian/ffmpeg(Debian 12) | < 7:5.1.6-0+deb12u1; = 7:5.1.3-1; = 7:5.1.3-2; = 7:5.1.4-0+deb12u1 +1 more | 7:5.1.6-0+deb12u1 | Fixed |
| debian/ffmpeg(Debian 13) | < 7:7.0.2-1 | 7:7.0.2-1 | Fixed |
| debian/ffmpeg(Debian 14) | < 7:7.0.2-1 | 7:7.0.2-1 | Fixed |
| ffmpeg/ffmpeg | < 4.3.8; >= 4.4, < 4.4.5; >= 5.0, < 5.1.6; >= 6.0, < 6.1.2 +1 more | 4.3.8, 4.4.5, 5.1.6, 6.1.2, 7.0.2 | Fixed |
| ubuntu/ffmpeg(Ubuntu 22.04) | < 7:4.4.2-0ubuntu0.22.04.1+esm9 | 7:4.4.2-0ubuntu0.22.04.1+esm9 | Fixed |
| ubuntu/ffmpeg(Ubuntu 24.04) | < 7:6.1.1-3ubuntu5+esm5 | 7:6.1.1-3ubuntu5+esm5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/ffmpeg(Debian:12) | < 7:5.1.6-0+deb12u1 | 7:5.1.6-0+deb12u1 |
| debian/ffmpeg(Debian:12) | = 7:5.1.3-1 | No fix listed |
| debian/ffmpeg(Debian:12) | = 7:5.1.3-2 | No fix listed |
| debian/ffmpeg(Debian:12) | = 7:5.1.4-0+deb12u1 | No fix listed |
| debian/ffmpeg(Debian:12) | = 7:5.1.5-0+deb12u1 | No fix listed |
| debian/ffmpeg(Debian:13) | < 7:7.0.2-1 | 7:7.0.2-1 |
| debian/ffmpeg(Debian:14) | < 7:7.0.2-1 | 7:7.0.2-1 |
| ubuntu/ffmpeg(Ubuntu:22.04) | < 7:4.4.2-0ubuntu0.22.04.1+esm9 | 7:4.4.2-0ubuntu0.22.04.1+esm9 |
| ubuntu/ffmpeg(Ubuntu:24.04) | < 7:6.1.1-3ubuntu5+esm5 | 7:6.1.1-3ubuntu5+esm5 |
| ffmpeg/ffmpeg | < 4.3.8 | 4.3.8 |
| ffmpeg/ffmpeg | >= 4.4, < 4.4.5 | 4.4.5 |
| ffmpeg/ffmpeg | >= 5.0, < 5.1.6 | 5.1.6 |
| ffmpeg/ffmpeg | >= 6.0, < 6.1.2 | 6.1.2 |
| ffmpeg/ffmpeg | >= 7.0, < 7.0.2 | 7.0.2 |
| alpine/ffmpeg(Alpine:v3.23) | >= 7.0, < 7.1.1-r0 | 7.1.1-r0 |
| alpine/ffmpeg(Alpine:v3.24) | >= 7.0, < 7.1.1-r0 | 7.1.1-r0 |
References
- Debian Security Tracker CVE-2024-7055 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7823-1 vendor-advisory
- www.cve.org
- VDB-273651 | FFmpeg pnmdec.c pnm_decode_frame heap-based overflow technical-description third-party-advisory vdb-entry
- VDB-273651 | CTI Indicators (IOB, IOC, IOA) permissions-required signature vdb-entry
- Submit #376532 | GitHub FFmpeg 6.1.1 Buffer Overflow third-party-advisory vdb-entry
- github.com exploit third-party-advisory
- ffmpeg.org patch product
- ffmpeg.org product
- lists.debian.org
- security.alpinelinux.org vendor-advisory