Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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