{"id":"CVE-2026-70632","summary":"FFmpeg 4.4 \u003c 9.0 Heap Out-of-Bounds Write in CFHD Decoder via AVI Demuxing","details":"FFmpeg versions from 4.4 up to, but not including, 9.0 contain an out-of-bounds heap write vulnerability in the native GoPro CineForm HD (CFHD) decoder that allows remote attackers to corrupt heap memory by supplying a crafted AVI file during stream probing. The cfhd_decode() function fails to enforce the non-Bayer logical output-width invariant in the transform-type-2 reconstruction path, causing horiz_filter_clip() to write oversized 16-bit sample rows far beyond the allocated output frame buffer, which can be escalated to arbitrary code execution via overwrite of a live cleanup callback pointer.","modified":"2026-09-05T09:55:55.547300886Z","published":"2026-08-06T21:26:17.466Z","related":["openSUSE-SU-2026:11659-1","openSUSE-SU-2026:11665-1","openSUSE-SU-2026:11682-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70632.json","unresolved_ranges":[{"extracted_events":[{"introduced":"4.4"},{"fixed":"9.0"}],"source":"AFFECTED_FIELD"},{"extracted_events":[{"introduced":"4.4"},{"fixed":"9.0"}],"source":"CPE_FIELD"}],"cna_assigner":"VulnCheck","cwe_ids":["CWE-787"]},"references":[{"type":"WEB","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg"},{"type":"WEB","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/1006a2151236f9235bf02822f263b3fb0532111e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70632.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70632"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/ffmpeg-heap-out-of-bounds-write-in-cfhd-decoder-via-avi-demuxing"},{"type":"REPORT","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23898"},{"type":"FIX","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/16b2049d4d5222db6cd7c031409058571c94f6a9"},{"type":"FIX","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/db05df9d135fb56a4babb836d5e9f5c1d984e087"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.ffmpeg.org/ffmpeg.git","events":[{"introduced":"c5079bf3bccd24bf8ed45ff47ff4071fd09e9fd8"},{"fixed":"d32b387f2b0a484599d4587d651891f0c63c4238"}],"database_specific":{"extracted_events":[{"introduced":"4.4"},{"fixed":"9"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*"}}],"versions":["n8.2-dev","n8.1-dev","n7.2-dev","n7.1-dev","n6.2-dev","n6.1-dev","n5.2-dev","n5.1-dev","n4.5-dev","n4.4-dev"],"database_specific":{"vanir_signatures":[{"signature_version":"v1","source":"https://git.ffmpeg.org/ffmpeg.git@d32b387f2b0a484599d4587d651891f0c63c4238","target":{"file":"libavformat/rawutils.c"},"deprecated":false,"digest":{"line_hashes":["195688002327067465305765588221319015242","309288324102816931239308632619998175099","208198982209572275918917816535860937592","231555107084919634110330250551123341431","168010716807985158773806969924424380093","204275076296265396432751791373547480918","230743041424433407137898346131591666852","121645463046297428931382762675379161144","64606519716965107927271010747911179138","73767112427060832523002513151109600034","219167262246002076747638059747044171272"],"threshold":0.9},"id":"CVE-2026-70632-bded55e5","signature_type":"Line"},{"digest":{"length":1096,"function_hash":"95585342688571589449512382820310933372"},"id":"CVE-2026-70632-bfd07778","signature_type":"Function","signature_version":"v1","source":"https://git.ffmpeg.org/ffmpeg.git@d32b387f2b0a484599d4587d651891f0c63c4238","target":{"file":"libavformat/rawutils.c","function":"ff_reshuffle_raw_rgb"},"deprecated":false}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-70632.json","vanir_signatures_modified":"2026-09-03T08:03:54Z"}},{"ranges":[{"type":"GIT","repo":"https://github.com/ffmpeg/ffmpeg","events":[{"introduced":"c5079bf3bccd24bf8ed45ff47ff4071fd09e9fd8"},{"fixed":"d32b387f2b0a484599d4587d651891f0c63c4238"}],"database_specific":{"cpe":"cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"4.4"},{"fixed":"9"}],"source":"CPE_RANGE"}}],"versions":["n8.2-dev","n8.1-dev","n7.2-dev","n7.1-dev","n6.2-dev","n6.1-dev","n5.2-dev","n5.1-dev","n4.5-dev","n4.4-dev"],"database_specific":{"vanir_signatures":[{"deprecated":false,"digest":{"length":1096,"function_hash":"95585342688571589449512382820310933372"},"id":"CVE-2026-70632-2a07b12d","signature_type":"Function","signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/d32b387f2b0a484599d4587d651891f0c63c4238","target":{"file":"libavformat/rawutils.c","function":"ff_reshuffle_raw_rgb"}},{"signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/d32b387f2b0a484599d4587d651891f0c63c4238","target":{"file":"libavformat/rawutils.c"},"deprecated":false,"digest":{"line_hashes":["195688002327067465305765588221319015242","309288324102816931239308632619998175099","208198982209572275918917816535860937592","231555107084919634110330250551123341431","168010716807985158773806969924424380093","204275076296265396432751791373547480918","230743041424433407137898346131591666852","121645463046297428931382762675379161144","64606519716965107927271010747911179138","73767112427060832523002513151109600034","219167262246002076747638059747044171272"],"threshold":0.9},"id":"CVE-2026-70632-5f4309c9","signature_type":"Line"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-70632.json","vanir_signatures_modified":"2026-09-03T08:03:54Z"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}