{"id":"CVE-2024-7055","summary":"FFmpeg pnmdec.c pnm_decode_frame heap-based overflow","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 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.","modified":"2026-08-17T04:22:43.268482739Z","published":"2024-08-06T06:00:10.659Z","related":["SUSE-SU-2024:3301-1","SUSE-SU-2024:3358-1","SUSE-SU-2025:0862-1","openSUSE-SU-2024:14339-1","openSUSE-SU-2024:14343-1","openSUSE-SU-2024:14344-1","openSUSE-SU-2024:14384-1"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"7.0.0"},{"last_affected":"7.0.0"},{"introduced":"7.0.1"},{"last_affected":"7.0.1"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"VulDB","cwe_ids":["CWE-122"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7055.json"},"references":[{"type":"WEB","url":"https://ffmpeg.org/"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00019.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7055.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7055"},{"type":"ADVISORY","url":"https://vuldb.com/?id.273651"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.376532"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.273651"},{"type":"FIX","url":"https://ffmpeg.org/download.html"},{"type":"EVIDENCE","url":"https://github.com/CookedMelon/ReportCVE/tree/main/FFmpeg/poc3"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.ffmpeg.org/ffmpeg.git","events":[{"introduced":"0"},{"fixed":"2ece1f83e41a0f8b88d2d48c5f916a826537cd0c"},{"introduced":"c5079bf3bccd24bf8ed45ff47ff4071fd09e9fd8"},{"fixed":"9bcede27c26b2f7cd469ab6b5c8b9694c30cfca3"},{"introduced":"390d6853d0ef408007feb39c0040682c81c02751"},{"fixed":"6338d19eb349e23a2004eb6cdd863bdef454572d"},{"introduced":"ea3d24bbe3c58b171e55fe2151fc7ffaca3ab3d2"},{"fixed":"b1a4534186ca51b0457579fc05a5739eb2cc45cd"},{"introduced":"083443d67cb159ce469e5d902346b8d0c2cd1c93"},{"fixed":"e3a61e91030696348b56361bdf80ea358aef4a19"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"4.3.8"},{"introduced":"4.4"},{"fixed":"4.4.5"},{"introduced":"5.0"},{"fixed":"5.1.6"},{"introduced":"6.0"},{"fixed":"6.1.2"},{"introduced":"7.0"},{"fixed":"7.0.2"}]}}],"versions":["n4.3.7","n5.1.5","n7.0.1","n7.0","n6.1.1","n5.1.4","n6.1","n4.4.4","n4.3.6","n5.1.3","n6.1-dev","n4.3.5","n4.4.3","n5.1.2","n5.1.1","n5.1","n5.2-dev","n4.3.4","n4.4.2","n4.3.3","n5.1-dev","n4.4.1","n4.4","n4.5-dev","n4.3.2","n4.3.1","n4.3","n4.4-dev","n4.3-dev","n4.2-dev","n4.1-dev","n3.5-dev","n3.4-dev","n3.3-dev","n3.2-dev","n3.1-dev","n2.9-dev","n2.8-dev","n2.7-dev","n2.6-dev","n2.5-dev","n2.4-dev","n2.3-dev","n2.2-dev","n2.0","n2.1-dev","n1.3-dev","n1.2-dev","n1.1-dev","n0.12-dev","n0.11-dev","n0.8","N"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-7055.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/ffmpeg/ffmpeg","events":[{"introduced":"0"},{"fixed":"2ece1f83e41a0f8b88d2d48c5f916a826537cd0c"},{"introduced":"c5079bf3bccd24bf8ed45ff47ff4071fd09e9fd8"},{"fixed":"9bcede27c26b2f7cd469ab6b5c8b9694c30cfca3"},{"introduced":"390d6853d0ef408007feb39c0040682c81c02751"},{"fixed":"6338d19eb349e23a2004eb6cdd863bdef454572d"},{"introduced":"ea3d24bbe3c58b171e55fe2151fc7ffaca3ab3d2"},{"fixed":"b1a4534186ca51b0457579fc05a5739eb2cc45cd"},{"introduced":"083443d67cb159ce469e5d902346b8d0c2cd1c93"},{"fixed":"e3a61e91030696348b56361bdf80ea358aef4a19"}],"database_specific":{"cpe":"cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"4.3.8"},{"introduced":"4.4"},{"fixed":"4.4.5"},{"introduced":"5.0"},{"fixed":"5.1.6"},{"introduced":"6.0"},{"fixed":"6.1.2"},{"introduced":"7.0"},{"fixed":"7.0.2"}],"source":"CPE_RANGE"}}],"versions":["n4.3.7","n5.1.5","n7.0.1","n7.0","n6.1.1","n5.1.4","n6.1","n4.4.4","n4.3.6","n5.1.3","n6.1-dev","n4.3.5","n4.4.3","n5.1.2","n5.1.1","n5.1","n5.2-dev","n4.3.4","n4.4.2","n4.3.3","n5.1-dev","n4.4.1","n4.4","n4.5-dev","n4.3.2","n4.3.1","n4.3","n4.4-dev","n4.3-dev","n4.2-dev","n4.1-dev","n3.5-dev","n3.4-dev","n3.3-dev","n3.2-dev","n3.1-dev","n2.9-dev","n2.8-dev","n2.7-dev","n2.6-dev","n2.5-dev","n2.4-dev","n2.3-dev","n2.2-dev","n2.0","n2.1-dev","n1.3-dev","n1.2-dev","n1.1-dev","n0.12-dev","n0.11-dev","n0.8","N"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-7055.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"}]}