CVE-2026-65705 FFmpeg 3.4 - 8.1.2 vf_floodfill Out-of-Bounds Write via filter_frame()

High 7.3 Published Updated

Attackers can trigger heap corruption and potential code execution in FFmpeg by processing specially crafted video streams with specific filter settings.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-65705?

CVE-2026-65705 is a high-severity memory corruption vulnerability in Ffmpeg Ffmpeg, published on 23 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

FFmpeg versions 3.4 through 8.1.2 contain an out-of-bounds write vulnerability in the vf_floodfill video filter that allows attackers to corrupt heap memory by supplying a dynamically sized video stream with filtergraph reinitialization disabled via -reinit_filter 0. When config_input() allocates the points traversal stack based on initial frame dimensions and a subsequent larger frame is processed, filter_frame() performs flood-fill neighbor pushes beyond the original allocation boundary, resulting in heap corruption and process crash with potential for code execution depending on heap layout and process hardening.

Weakness: CWE-787, CWE-131

Which versions are affected by CVE-2026-65705?

It affects 1 product.

Products include Ffmpeg Ffmpeg.

How do I fix CVE-2026-65705?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-65705 being exploited?

There is no known exploitation of CVE-2026-65705 in the wild and no public exploit code.

All Ffmpeg Ffmpeg vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-65705, ECHO-d8af-6409-adc1, GHSA-gf7r-r5xq-r3hm, JLSEC-2026-1180, MINI-h8fm-6jj7-frph, UBUNTU-CVE-2026-65705.

Is CVE-2026-65705 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free