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

Published Jul 23, 2026
·
Updated

FFmpeg versions 3.4 through 8.1.2 contain an out-of-bounds write vulnerability in the vffloodfill video filter that allows attackers to corrupt heap memory by supplying a dynamically sized video stream with filtergraph reinitialization disabled via -reinitfilter 0. When configinput() allocates the points traversal stack based on initial frame dimensions and a subsequent larger frame is processed, filterframe() 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.

Affected Software

2 affected components
FFmpeg FFmpeg>=3.4<=8.1.2
FFmpeg FFmpeg>=3.4<=8.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.1.2
  2. Compensating control

    Mitigate by not using filtergraph reinitialization disablement: avoid running ffmpeg with -reinit_filter 0 when using the vf_floodfill filter on dynamically sized video streams.

Event History

Jul 23, 2026
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-65705?

CVE-2026-65705 has a severity rating of high, assigned a score of 7.8.

2

How do I fix CVE-2026-65705?

To remediate CVE-2026-65705, upgrade FFmpeg to version 8.1.3 or later.

3

What impact does CVE-2026-65705 have on my system?

CVE-2026-65705 can lead to heap memory corruption, potentially allowing attackers to execute arbitrary code on the affected system.

4

Which versions of FFmpeg are affected by CVE-2026-65705?

FFmpeg versions 3.4 through 8.1.2 are affected by CVE-2026-65705.

5

What is the nature of the vulnerability in CVE-2026-65705?

CVE-2026-65705 is an out-of-bounds write vulnerability in the vf_floodfill video filter.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203