FFmpeg pnmdec.c pnm_decode_frame heap-based overflow
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-7055
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 01:43 UTC · Revision 1
Source evidence
FFmpeg pnmdec.c pnm_decode_frame heap-based overflow
core-osv · Original sourcePublished 6 Aug 2024, 06:00 UTC
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.
osv:CVE-2024-7055
Complete source record
{
"id": "d61599373ebfbcbea15a5d11b8baa4650c593f1e57d3839371c735a284fcf248",
"url": "https://osv.dev/vulnerability/CVE-2024-7055",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "FFmpeg pnmdec.c pnm_decode_frame heap-based overflow",
"summary": "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.",
"evidence": "osv:CVE-2024-7055",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-7055",
"aliases": [
"CVE-2024-7055"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.ffmpeg.org/ffmpeg.git",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "2ece1f83e41a0f8b88d2d48c5f916a826537cd0c"
},
{
"introduced": "c5079bf3bccd24bf8ed45ff47ff4071fd09e9fd8"
},
{
"fixed": "9bcede27c26b2f7cd469ab6b5c8b9694c30cfca3"
},
{
"introduced": "390d6853d0ef408007feb39c0040682c81c02751"
},
{
"fixed": "6338d19eb349e23a2004eb6cdd863bdef454572d"
},
{
"introduced": "ea3d24bbe3c58b171e55fe2151fc7ffaca3ab3d2"
},
{
"fixed": "b1a4534186ca51b0457579fc05a5739eb2cc45cd"
},
{
"introduced": "083443d67cb159ce469e5d902346b8d0c2cd1c93"
},
{
"fixed": "e3a61e91030696348b56361bdf80ea358aef4a19"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.3.8"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.4"
},
{
"fixed": "4.4.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.0"
},
{
"fixed": "5.1.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0"
},
{
"fixed": "6.1.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
"range": [
{
"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/cve-osv-conversion/osv-output/CVE-2024-7055.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/ffmpeg/ffmpeg",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "2ece1f83e41a0f8b88d2d48c5f916a826537cd0c"
},
{
"introduced": "c5079bf3bccd24bf8ed45ff47ff4071fd09e9fd8"
},
{
"fixed": "9bcede27c26b2f7cd469ab6b5c8b9694c30cfca3"
},
{
"introduced": "390d6853d0ef408007feb39c0040682c81c02751"
},
{
"fixed": "6338d19eb349e23a2004eb6cdd863bdef454572d"
},
{
"introduced": "ea3d24bbe3c58b171e55fe2151fc7ffaca3ab3d2"
},
{
"fixed": "b1a4534186ca51b0457579fc05a5739eb2cc45cd"
},
{
"introduced": "083443d67cb159ce469e5d902346b8d0c2cd1c93"
},
{
"fixed": "e3a61e91030696348b56361bdf80ea358aef4a19"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.3.8"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.4"
},
{
"fixed": "4.4.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.0"
},
{
"fixed": "5.1.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0"
},
{
"fixed": "6.1.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
"range": [
{
"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/cve-osv-conversion/osv-output/CVE-2024-7055.json"
}
}
],
"modified": "2026-10-28T02:30:52.627431332Z",
"provider": "osv",
"references": [
"https://ffmpeg.org/",
"https://lists.debian.org/debian-lts-announce/2024/10/msg00019.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7055.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-7055",
"https://vuldb.com/?id.273651",
"https://vuldb.com/?submit.376532",
"https://vuldb.com/?ctiid.273651",
"https://ffmpeg.org/download.html",
"https://github.com/CookedMelon/ReportCVE/tree/main/FFmpeg/poc3"
],
"provider_metadata": {
"cwe_ids": [
"CWE-122"
],
"cna_assigner": "VulDB",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "7.0.0"
},
{
"last_affected": "7.0.0"
},
{
"introduced": "7.0.1"
},
{
"last_affected": "7.0.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7055.json"
}
},
"related_cves": [
{
"value": "CVE-2024-7055",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521457,
"published_at": "2024-08-06T06:00:10.659+00:00"
}