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… (CVE-2026-65705)
FFmpeg versions from 3.4 up to and including 8.1.2 contain an out-of-bounds write vulnerability in the vf_floodfill video filter. This flaw occurs when processing dynamically sized video streams with filtergraph reinitialization disabled, leading to heap memory corruption. The vulnerability can cause process crashes and may allow code execution depending on the heap layout and system hardening.
AI Analysis
Technical Summary
An out-of-bounds write vulnerability exists in FFmpeg's vf_floodfill video filter in versions >=3.4 and <=8.1.2. When the filtergraph reinitialization is disabled (-reinit_filter 0), the points traversal stack is allocated based on initial frame dimensions. If a subsequent frame is larger, flood-fill neighbor pushes exceed the allocated stack boundary, causing heap corruption. This can lead to process crashes and potentially arbitrary code execution depending on memory layout and protections.
Potential Impact
Heap memory corruption caused by out-of-bounds writes can crash the affected process and may enable attackers to execute arbitrary code depending on the heap layout and process hardening mechanisms in place. This vulnerability affects the stability and security of applications using the vulnerable FFmpeg versions with the vf_floodfill filter under specific conditions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing dynamically sized video streams with the vf_floodfill filter when filtergraph reinitialization is disabled (-reinit_filter 0). Monitor vendor channels for updates and apply patches once released.
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… (CVE-2026-65705)
Description
FFmpeg versions from 3.4 up to and including 8.1.2 contain an out-of-bounds write vulnerability in the vf_floodfill video filter. This flaw occurs when processing dynamically sized video streams with filtergraph reinitialization disabled, leading to heap memory corruption. The vulnerability can cause process crashes and may allow code execution depending on the heap layout and system hardening.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
An out-of-bounds write vulnerability exists in FFmpeg's vf_floodfill video filter in versions >=3.4 and <=8.1.2. When the filtergraph reinitialization is disabled (-reinit_filter 0), the points traversal stack is allocated based on initial frame dimensions. If a subsequent frame is larger, flood-fill neighbor pushes exceed the allocated stack boundary, causing heap corruption. This can lead to process crashes and potentially arbitrary code execution depending on memory layout and protections.
Potential Impact
Heap memory corruption caused by out-of-bounds writes can crash the affected process and may enable attackers to execute arbitrary code depending on the heap layout and process hardening mechanisms in place. This vulnerability affects the stability and security of applications using the vulnerable FFmpeg versions with the vf_floodfill filter under specific conditions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing dynamically sized video streams with the vf_floodfill filter when filtergraph reinitialization is disabled (-reinit_filter 0). Monitor vendor channels for updates and apply patches once released.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-gf7r-r5xq-r3hm
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-65705"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a629b0e9c2644c7f8d86328
Added to database: 07/23/2026, 22:51:58 UTC
Last enriched: 07/24/2026, 00:07:04 UTC
Last updated: 07/24/2026, 01:33:45 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.