<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>FFmpeg Versions 3.0 Through 8.1.2 - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/ffmpeg-versions-3.0-through-8.1.2/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 23 Jul 2026 20:22:25 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/ffmpeg-versions-3.0-through-8.1.2/feed.xml" rel="self" type="application/rss+xml"/><item><title>Critical Out-of-Bounds Write Vulnerability in FFmpeg (CVE-2026-65706)</title><link>https://feed.craftedsignal.io/briefs/2026-07-ffmpeg-oob-write/</link><pubDate>Thu, 23 Jul 2026 20:22:25 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-ffmpeg-oob-write/</guid><description>A critical out-of-bounds write vulnerability (CVE-2026-65706) exists in FFmpeg versions 3.0 through 8.1.2 within the vf_swaprect video filter, allowing attackers to corrupt heap memory and achieve potential remote code execution by providing a specially crafted NV12 video frame with odd width dimensions.</description><content:encoded><![CDATA[<p>A critical out-of-bounds write vulnerability, identified as CVE-2026-65706, affects FFmpeg versions 3.0 through 8.1.2. This flaw resides within the <code>vf_swaprect</code> video filter, specifically impacting how it handles NV12 video frames with odd width dimensions. Threat actors can exploit this by supplying a specially crafted video frame, causing the <code>filter_frame()</code> function to perform an 18-byte <code>memcpy</code> operation into a 17-byte heap allocation. This discrepancy, stemming from incorrect temporary buffer sizing for interleaved chroma planes, leads to heap corruption and a subsequent process crash. Successful exploitation can enable remote code execution, granting attackers unauthorized control over the affected system. This vulnerability poses a significant risk to applications and services utilizing vulnerable FFmpeg versions for video processing, as it can be triggered by merely processing a malicious video file or stream.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker crafts a malicious NV12 video frame designed with odd width dimensions.</li>
<li>The crafted video frame includes specially structured data intended to trigger an out-of-bounds write condition.</li>
<li>The victim's system, running a vulnerable FFmpeg version (3.0 through 8.1.2), processes the attacker-supplied malicious NV12 video frame.</li>
<li>The FFmpeg <code>vf_swaprect</code> video filter's <code>filter_frame()</code> function is invoked to process the crafted frame.</li>
<li>During the processing of the two-byte-per-sample interleaved chroma plane, the <code>filter_frame()</code> function reuses a temporary row buffer sized for plane 0's single-byte pixel step.</li>
<li>This incorrect sizing causes an 18-byte <code>memcpy</code> operation to occur into a 17-byte heap allocation, triggering an out-of-bounds write.</li>
<li>The out-of-bounds write corrupts heap memory, leading to a process crash of the FFmpeg application or service.</li>
<li>With sophisticated crafting, this heap corruption can be exploited to achieve arbitrary code execution, allowing the attacker to gain control over the affected FFmpeg process and potentially the underlying system.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-65706 results in heap memory corruption, leading to denial of service through application crashes. The vulnerability carries a high CVSS v3.1 base score of 7.8, indicating significant severity. The primary risk is the potential for remote code execution, which would allow an attacker to execute arbitrary commands and take complete control of the system running the vulnerable FFmpeg software. This could lead to data exfiltration, further network compromise, or the installation of additional malicious software. Any application or service that uses FFmpeg for video processing, including media players, video conferencing tools, transcoding services, and content management systems, is at risk. The number of potential victims is vast due to the widespread use of FFmpeg across various industries.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Patch CVE-2026-65706 immediately by upgrading FFmpeg to a version beyond 8.1.2 that addresses this vulnerability.</li>
<li>Monitor systems for unexpected process crashes related to FFmpeg or media processing applications to detect potential exploitation attempts of CVE-2026-65706.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>vulnerability</category><category>RCE</category><category>out-of-bounds-write</category><category>video-processing</category><category>FFmpeg</category></item></channel></rss>