Description
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.
Published: 2026-08-06
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an out-of-bounds heap write in the GoPro CineForm HD (CFHD) decoder within FFmpeg. The flaw occurs while processing AVI files during stream probing. An attacker can supply a crafted AVI file that forces the cfhd_decode() function to bypass a logical output‑width check, causing horiz_filter_clip() to write beyond the bounds of the output frame buffer. This memory corruption can overwrite a live cleanup callback pointer and enable the attacker to execute arbitrary code on the host with the privileges of the FFmpeg process.

Affected Systems

Affected are FFmpeg releases 4.4 through 8.x. Any installation of FFmpeg within that range that decodes AVI streams using the CFHD decoder is vulnerable. Versions 9.0 and later contain the fix, so systems running newer versions are not impacted. The vulnerability is triggered only when a malicious AVI file is parsed during probing.

Risk and Exploitability

The CVSS score of 8.5 indicates a high severity, and although no EPSS data is available, the lack of a KEV listing suggests limited public exploitation to date; however, the mechanism can be remotely triggered by delivering a crafted AVI file to an application that uses FFmpeg for stream probing. Because the flaw enables arbitrary code execution, any attacker who can feed a malicious stream to the vulnerable process can gain full control of the system. The attack requires no additional privileges beyond those of the application using FFmpeg.

Generated by OpenCVE AI on August 7, 2026 at 00:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to version 9.0 or newer, which contains the corrected CFHD decoder and removes the out‑of‑bounds write.
  • If an upgrade is not immediately feasible, disable CFHD decoding for AVI streams or restrict the library to trusted input only.
  • Apply system‑level controls such as sandboxing or file‑type filtering to prevent untrusted AVI files from being processed by FFmpeg.

Generated by OpenCVE AI on August 7, 2026 at 00:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

Fri, 07 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 07 Aug 2026 17:30:00 +0000


Fri, 07 Aug 2026 01:15:00 +0000

Type Values Removed Values Added
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Vendors & Products Ffmpeg
Ffmpeg ffmpeg

Thu, 06 Aug 2026 22:15:00 +0000

Type Values Removed Values Added
Description 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.
Title FFmpeg 4.4 < 9.0 Heap Out-of-Bounds Write in CFHD Decoder via AVI Demuxing
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T16:51:34.123Z

Reserved: 2026-08-04T20:17:18.297Z

Link: CVE-2026-70632

cve-icon Vulnrichment

Updated: 2026-08-07T17:20:09.782Z

cve-icon NVD

Status : Received

Published: 2026-08-06T22:18:27.567

Modified: 2026-08-07T18:17:22.307

Link: CVE-2026-70632

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T01:00:05Z

Weaknesses