CVE-2026-65705CWE-131CWE-787

CVE-2026-65705

High · published July 24, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
7.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00187 · 7.9th percentile
Weaknesses
CWE-131 · Incorrect Calculation of Buffer Size; CWE-787 · Out-of-bounds Write
Published
2026-07-24T00:17Z
Affected products (1)
ProductVersionsFixed in
ffmpeg/ffmpeg≥ 3.4, ≤ 8.1.2—
References (3)
EPSS history
Timeline
  • 23 JUL 19:00Z
    FFmpeg 3.4 - 8.1.2 vf_floodfill Out-of-Bounds Write via filter_frame()
    cvelistv5