CVE-2026-70632
CVE-2026-70632 · FFmpeg 4.4 < 9.0 Heap Out-of-Bounds Write in CFHD Decoder via AVI Demuxing
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.5 · High · EPSS 0.2% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
ffmpeg
- Versions
- ≥ 4.4, < 9.0: Affected (custom)
Update to 9.0
ffmpeg Debian:12
- Versions
- 7:5.1.3-1
- 7:5.1.3-2
- 7:5.1.4-0+deb12u1
- 7:5.1.5-0+deb12u1
- 7:5.1.6-0+deb12u1
- 7:5.1.7-0+deb12u1
- 7:5.1.8-0+deb12u1
- 7:5.1.9-0+deb12u1
- 7:6.0-1
- 7:6.0-2
- 7:6.0-3
- 7:6.0-4
- 7:6.0-5
- 7:6.0-6
- 7:6.0-7
- 7:6.0-8
- 7:6.0-9
- 7:6.1-1
- 7:6.1-2
- 7:6.1-3
- 7:6.1-4
- 7:6.1-5
- 7:6.1.1-1
- 7:6.1.1-2
- 7:6.1.1-3
- 7:6.1.1-4
- 7:6.1.1-5
- 7:7.0-1
- 7:7.0.1-1
- 7:7.0.1-2
- 7:7.0.1-3
- 7:7.0.1-4
- 7:7.0.1-5
- 7:7.0.2-1
- 7:7.0.2-2
- 7:7.0.2-3
- 7:7.1-1
- 7:7.1-2
- 7:7.1-3
- 7:7.1-4
- 7:7.1.1-1
- 7:7.1.2-1
- 7:7.1.3-1
- 7:8.0-1
- 7:8.0-2
- 7:8.0.1-1
- 7:8.0.1-2
- 7:8.0.1-3
- 7:8.1-1
- 7:8.1-2
- 7:8.1-3
- 7:8.1.1-1
- 7:8.1.1-2
- 7:8.1.1-3
- 7:8.1.1-4
- 7:8.1.2-1
- 7:8.1.2-2
- 7:9.0-1
- 7:9.0.1-1
- 7:9.0.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ffmpeg Debian:13
- Versions
- 7:7.1.1-1
- 7:7.1.2-0+deb13u1
- 7:7.1.2-1
- 7:7.1.3-0+deb13u1
- 7:7.1.3-1
- 7:7.1.4-0+deb13u1
- 7:7.1.5-0+deb13u1
- 7:8.0-1
- 7:8.0-2
- 7:8.0.1-1
- 7:8.0.1-2
- 7:8.0.1-3
- 7:8.1-1
- 7:8.1-2
- 7:8.1-3
- 7:8.1.1-1
- 7:8.1.1-2
- 7:8.1.1-3
- 7:8.1.1-4
- 7:8.1.2-1
- 7:8.1.2-2
- 7:9.0-1
- 7:9.0.1-1
- 7:9.0.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ffmpeg Debian:14
- Versions
- 7:7.1.1-1
- 7:7.1.2-1
- 7:7.1.3-1
- 7:8.0-1
- 7:8.0-2
- 7:8.0.1-1
- 7:8.0.1-2
- 7:8.0.1-3
- 7:8.1-1
- 7:8.1-2
- 7:8.1-3
- 7:8.1.1-1
- 7:8.1.1-2
- 7:8.1.1-3
- 7:8.1.1-4
- 7:8.1.2-1
- 7:8.1.2-2
- 7:9.0-1
- 7:9.0.1-1
- Affected ranges
- ECOSYSTEM: < 7:9.0.2-1
Update to 7:9.0.2-1
libav Ubuntu:Pro:14.04:LTS
- Versions
- 6:0.8.7-1ubuntu2
- 6:9.10-1ubuntu1
- 6:9.10-1ubuntu2
- 6:9.10-1ubuntu5
- 6:9.10-1ubuntu6
- 6:9.10-1ubuntu7
- 6:9.11-2ubuntu1
- 6:9.11-2ubuntu2
- 6:9.13-0ubuntu0.14.04.1
- 6:9.14-0ubuntu0.14.04.1
- 6:9.16-0ubuntu0.14.04.1
- 6:9.18-0ubuntu0.14.04.1
- 6:9.20-0ubuntu0.14.04.1
- 6:9.20-0ubuntu0.14.04.1+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ffmpeg Ubuntu:Pro:22.04:LTS
- Versions
- 7:4.4-6ubuntu5
- 7:4.4.1-2ubuntu1
- 7:4.4.1-3ubuntu1
- 7:4.4.1-3ubuntu2
- 7:4.4.1-3ubuntu3
- 7:4.4.1-3ubuntu5
- 7:4.4.2-0ubuntu0.22.04.1
- 7:4.4.2-0ubuntu0.22.04.1+esm1
- 7:4.4.2-0ubuntu0.22.04.1+esm2
- 7:4.4.2-0ubuntu0.22.04.1+esm3
- 7:4.4.2-0ubuntu0.22.04.1+esm4
- 7:4.4.2-0ubuntu0.22.04.1+esm5
- 7:4.4.2-0ubuntu0.22.04.1+esm6
- 7:4.4.2-0ubuntu0.22.04.1+esm7
- 7:4.4.2-0ubuntu0.22.04.1+esm8
- 7:4.4.2-0ubuntu0.22.04.1+esm9
- 7:4.4.2-0ubuntu0.22.04.1+esm10
- 7:4.4.2-0ubuntu0.22.04.1+esm11
- 7:4.4.2-0ubuntu0.22.04.1+esm12
- 7:4.4.2-0ubuntu0.22.04.1+esm13
- Affected ranges
- ECOSYSTEM: < 7:4.4.2-0ubuntu0.22.04.1+esm14
Update to 7:4.4.2-0ubuntu0.22.04.1+esm14
ffmpeg Ubuntu:Pro:24.04:LTS
- Versions
- 7:6.0-6ubuntu1
- 7:6.0-9ubuntu1
- 7:6.1-2ubuntu1
- 7:6.1-3ubuntu1
- 7:6.1-4ubuntu1
- 7:6.1-5ubuntu1
- 7:6.1.1-1ubuntu1
- 7:6.1.1-3ubuntu1
- 7:6.1.1-3ubuntu5
- 7:6.1.1-3ubuntu5+esm1
- 7:6.1.1-3ubuntu5+esm2
- 7:6.1.1-3ubuntu5+esm3
- 7:6.1.1-3ubuntu5+esm4
- 7:6.1.1-3ubuntu5+esm5
- 7:6.1.1-3ubuntu5+esm6
- 7:6.1.1-3ubuntu5+esm7
- 7:6.1.1-3ubuntu5+esm8
- 7:6.1.1-3ubuntu5+esm10
- 7:6.1.1-3ubuntu5+esm11
- Affected ranges
- ECOSYSTEM: < 7:6.1.1-3ubuntu5+esm12
Update to 7:6.1.1-3ubuntu5+esm12
ffmpeg Ubuntu:26.10
- Versions
- 7:8.0.1-3ubuntu2
- 7:8.1-3ubuntu3
- 7:8.1.2-2ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ffmpeg Ubuntu:Pro:26.04:LTS
- Versions
- 7:7.1.1-1ubuntu4
- 7:7.1.2-1ubuntu3
- 7:7.1.2-1ubuntu4
- 7:7.1.3-1ubuntu1
- 7:8.0.1-2ubuntu1
- 7:8.0.1-3ubuntu1
- 7:8.0.1-3ubuntu2
- 7:8.0.1-3ubuntu2+esm1
- Affected ranges
- ECOSYSTEM: < 7:8.0.1-3ubuntu2+esm3
Update to 7:8.0.1-3ubuntu2+esm3
Original sources
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23898
- https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/1006a2151236f9235bf02822f263b3fb0532111e
- https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/db05df9d135fb56a4babb836d5e9f5c1d984e087
- https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/16b2049d4d5222db6cd7c031409058571c94f6a9
- https://www.vulncheck.com/advisories/ffmpeg-heap-out-of-bounds-write-in-cfhd-decoder-via-avi-demuxing
- https://nvd.nist.gov/vuln/detail/CVE-2026-70632