Skip to main content
Mallory
← Back to News
open-source-dependency-vulnerabilityendpoint-software-vulnerabilityproof-of-concept-release

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

FFmpeg CFHD Decoder Heap Write Flaw Enables Code Execution via Crafted AVI Files

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
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Aug 4, 2020 – Aug 6, 2026
  1. Aug 6, 20264mo ago

    CVE-2026-70632 is received and documented

    A new CVE, CVE-2026-70632, was received by disclosure@vulncheck.com for an out-of-bounds heap write in FFmpeg's CFHD decoder affecting versions 4.4 through before 9.0. The flaw can be triggered by a crafted AVI file during stream probing and may lead to heap corruption and possible arbitrary code execution.

    CVE-2026-70632 - FFmpeg 4.4 < 9.0 Heap Out-of-Bounds Write in CFHD Decoder via AVI Demuxing
  2. Jul 31, 20264mo ago

    FFmpeg opens pull request for CFHD decoder fix

    FFmpeg pull request 23898 was opened for the change titled "avcodec/cfhd: reject transform-2 output wider than the plane." The CVE record cites this pull request as a tracking artifact related to the vulnerability fix.

    Making sure you're not a bot!
  3. Jul 22, 20264mo ago

    FFmpeg commits fix for CFHD transform-2 width validation

    FFmpeg published commits 16b2049d4d5222db6cd7c031409058571c94f6a9 and db05df9d135fb56a4babb836d5e9f5c1d984e087 to reject transform-2 output wider than the plane in the CFHD decoder. These commits are referenced as remediation-related artifacts for CVE-2026-70632.

    Making sure you're not a bot!
  4. Aug 4, 20206y ago

    FFmpeg adds CFHD 3D transform support

    FFmpeg introduced 3D transform support in its CFHD decoder in commit 1006a2151236f9235bf02822f263b3fb0532111e. This earlier code change is referenced by the later CVE record for CVE-2026-70632.

    Making sure you're not a bot!
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Ffmpeg

Organizations

1 linked
Ffmpeg
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.