Skip to main content

FFmpeg CVE-2026-70632

| EUVDEUVD-2026-54166 HIGH
Out-of-bounds Write (CWE-787)
2026-08-06 disclosure@vulncheck.com GHSA-q24x-99v6-6hxc
8.5
CVSS 4.0 · Vendor: vulncheck
Share

Severity by source

Vendor (vulncheck) PRIMARY
8.5 HIGH
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
8.8 HIGH

AV:N because remote attackers supply the crafted AVI file; UI:R because local processing must be triggered; full CIA impact reflects the concrete RCE escalation path.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE
7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Red Hat
7.8 HIGH
qualitative

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
P
Scope
X

Lifecycle Timeline

3
Patch available
Aug 06, 2026 - 23:03 EUVD
Analysis Generated
Aug 06, 2026 - 22:45 vuln.today
CVE Published
Aug 06, 2026 - 22:18 cve.org
HIGH 8.5

DescriptionCVE.org

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.

AnalysisAI

Out-of-bounds heap write in FFmpeg's native GoPro CineForm HD (CFHD) decoder affects versions 4.4 through 8.x, allowing remote attackers to corrupt heap memory by supplying a crafted AVI file that is opened or probed by a vulnerable build. The root failure - missing output-width bounds enforcement in the transform-type-2 reconstruction path - causes horiz_filter_clip() to write 16-bit sample rows far beyond the allocated frame buffer, with a concrete escalation path to arbitrary code execution through overwrite of a live cleanup callback pointer. No public exploit or active exploitation (CISA KEV) has been identified at time of analysis; three upstream fix commits and PR #23898 are available at code.ffmpeg.org pending a formal stable release.

Technical ContextAI

CWE-787 (Out-of-bounds Write) manifests inside libavcodec's CFHD decoder, the native FFmpeg implementation for decoding GoPro CineForm HD encoded video streams embedded in AVI containers. During stream probing - the demuxer phase in which FFmpeg reads file headers and initial packet data to identify format, codec, and stream parameters before full decoding begins - the cfhd_decode() function enters the transform-type-2 wavelet reconstruction path without verifying that the logical output width satisfies the non-Bayer invariant required by that path. As a result, horiz_filter_clip(), the horizontal low-pass filter and sample clipping routine used during inverse wavelet reconstruction, writes oversized 16-bit sample rows that extend far beyond the end of the heap-allocated output frame buffer. The overwrite region can coincide with live heap metadata including cleanup callback function pointers; when the callback is subsequently invoked during codec teardown or an error path, execution is redirected to attacker-controlled data, realizing full arbitrary code execution. Affected products span FFmpeg 4.4 through all releases prior to 9.0 on all supported platforms. References point to three distinct fix commits (1006a215, 16b2049d, db05df9d) and PR #23898 on the FFmpeg upstream repository.

RemediationAI

The primary fix is to upgrade FFmpeg to version 9.0 or later, which removes the out-of-bounds write by enforcing the non-Bayer output-width invariant in cfhd_decode(). The upstream fix is available as three commits (1006a2151236, 16b2049d4d52, db05df9d135f) and PR #23898 at code.ffmpeg.org; a formally tagged stable release version was not independently confirmed from the provided references - verify with the FFmpeg project release page before deploying in production. Downstream package maintainers should backport all three commits as a set, since they appear to address the flaw across multiple code paths in the CFHD decoder. Where immediate upgrade is not feasible, the most effective compensating control is to prevent untrusted or externally sourced AVI files from reaching any FFmpeg process; implementing input allowlisting at the ingestion layer (e.g., rejecting AVI containers or CFHD-encoded streams before they reach the decoder) eliminates the attack surface with the trade-off of rejecting legitimate GoPro CineForm content. Sandboxing the FFmpeg process using seccomp-bpf profiles or containers with restricted syscall surfaces limits the blast radius of a successful heap corruption exploit but does not prevent exploitation itself. For custom FFmpeg builds, disabling the CFHD decoder at compile time (removing libavcodec/cfhd.c from the build) fully eliminates exposure at the cost of losing GoPro CineForm decoding capability.

More in Ffmpeg

View all
CVE-2016-1897 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol

CVE-2017-9993 HIGH
7.5 Jun 28

FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric

CVE-2016-1898 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco

CVE-2013-4265 CRITICAL POC
10.0 Nov 23

The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re

CVE-2020-12284 CRITICAL POC
9.8 Apr 28

cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA

CVE-2026-58049 HIGH POC
8.8 Jun 28

Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m

CVE-2021-38094 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker

CVE-2021-38093 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke

CVE-2021-38092 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38091 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38090 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_roberts in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows atta

CVE-2021-30123 HIGH POC
8.8 Apr 07

FFmpeg <=4.3 contains a buffer overflow vulnerability in libavcodec through a crafted file that may lead to remote code

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Not-Affected

Share

CVE-2026-70632 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy