FFmpeg CFHD Decoder Heap Write Flaw Enables Code Execution via Crafted AVI Files
Vulnerability Disclosure · 5 sources · Updated 2d ago · First seen Aug 6, 2026

A high-severity vulnerability, CVE-2026-70632, was disclosed in FFmpeg affecting versions 4.4 through before 9.0. The flaw is a heap out-of-bounds write in the native GoPro CineForm HD (CFHD) decoder that can be triggered when FFmpeg probes a crafted AVI file. The bug occurs in cfhd_decode() because the transform-type-2 reconstruction path does not properly enforce output-width limits for non-Bayer data, allowing horiz_filter_clip() to write past the allocated frame buffer.
Why it matters
Impact assessment
CVE-2026-70632 affects FFmpeg deployments that process untrusted media, especially applications, services, and pipelines that automatically probe or decode AVI content using the native CFHD decoder. The impact is high because successful exploitation can cause heap corruption and potentially arbitrary code execution, creating risk of service compromise, crashes, and downstream operational disruption.
The exposure is broad across FFmpeg versions 4.4 through before 9.0, but exploitation requires delivery of a crafted AVI file and user or application interaction with that file. No confirmed in-the-wild exploitation is provided in the references, but the bug is practical for targeted attacks against media processing workflows, content ingestion platforms, desktop media tools, and any backend that inspects uploaded video files.
Affected populations
- Organizations running FFmpeg 4.4 through before 9.0
- Media processing platforms, transcoding pipelines, content moderation systems, and upload-scanning services
- Desktop or server applications that invoke FFmpeg to probe or decode AVI files
- Users handling untrusted video attachments or uploads
Severity and business risk
- Potential arbitrary code execution from heap corruption
- Service crashes or instability from out-of-bounds heap writes
- Possible compromise of systems that automatically process attacker-supplied media
- Reputational and operational risk for platforms accepting public video uploads
Scope and exploitation status
- Scope is potentially widespread due to FFmpeg's broad embedding across products and services
- Trigger condition is targeted: crafted AVI content reaching vulnerable probing/decoding paths
- No published evidence of active exploitation in the wild in the provided references
Extracted facts from references
- CVE-2026-70632 affects FFmpeg versions 4.4 up to, but not including, 9.0
- The vulnerable product is FFmpeg from the FFmpeg project repository
- The issue was published on 2026-08-06 via cvefeed_high_severity
- Related remediation/tracking artifacts include pull request 23898 and commits 16b2049d4d5222db6cd7c031409058571c94f6a9, db05df9d135fb56a4babb836d5e9f5c1d984e087, and 1006a2151236f9235bf02822f263b3fb0532111e

