<?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 2.7 - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/ffmpeg-2.7/</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:20:25 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/ffmpeg-2.7/feed.xml" rel="self" type="application/rss+xml"/><item><title>FFmpeg TDSC Video Decoder Out-of-Bounds Write Vulnerability</title><link>https://feed.craftedsignal.io/briefs/2026-07-ffmpeg-out-of-bounds-write/</link><pubDate>Thu, 23 Jul 2026 20:20:25 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-ffmpeg-out-of-bounds-write/</guid><description>An out-of-bounds write vulnerability (CVE-2026-65703) exists in the TDSC video decoder within FFmpeg versions 2.7 through 8.1.2, allowing remote attackers to cause heap corruption and potential code execution by supplying a specially crafted AVI file with changing frame dimensions across TDSF frames.</description><content:encoded><![CDATA[<p>FFmpeg versions 2.7 through 8.1.2 are susceptible to an out-of-bounds write vulnerability (CVE-2026-65703) in its TDSC video decoder. This critical flaw allows remote attackers to trigger heap corruption and potentially achieve arbitrary code execution. The vulnerability is exploited by supplying a specially crafted Audio Video Interleave (AVI) file, which maliciously alters frame dimensions across TDSF (TrueMotion Video Codec) frames. This manipulation leads to incorrect memory handling when <code>tdsc_parse_tdsf()</code> attempts to reuse reference frames without proper de-referencing, causing <code>tdsc_blit()</code> and <code>tdsc_yuv2rgb()</code> functions to write attacker-controlled pixel data beyond the allocated buffer boundaries. The impact ranges from application crashes to the possibility of full system compromise if code execution is achieved. This affects any system or application that uses vulnerable FFmpeg libraries to process media files.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker crafts a malicious AVI file that utilizes the TDSF (TrueMotion Video Codec) format.</li>
<li>The crafted AVI file is engineered to change frame dimensions between successive TDSF frames.</li>
<li>A user or automated system processes the malicious AVI file using a vulnerable FFmpeg version (2.7 through 8.1.2).</li>
<li>FFmpeg's <code>tdsc_parse_tdsf()</code> function processes the malformed frame dimension changes.</li>
<li>During this processing, <code>tdsc_parse_tdsf()</code> fails to properly unreference an existing reference frame before calling <code>av_frame_get_buffer()</code> for a new frame of a different size.</li>
<li>This misallocation results in <code>tdsc_blit()</code> and <code>tdsc_yuv2rgb()</code> functions attempting to write pixel data from the new frame into an undersized, previously allocated reference frame buffer.</li>
<li>The write operation extends beyond the boundaries of the allocated memory, causing an out-of-bounds write and heap corruption within the FFmpeg process.</li>
<li>This heap corruption leads to an application crash and, under specific conditions, can be leveraged by the attacker to achieve arbitrary code execution on the system where FFmpeg is running.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-65703 leads to heap corruption within the FFmpeg process, primarily resulting in a denial-of-service condition due to application crashes. The vulnerability also carries the potential for arbitrary code execution, enabling remote attackers to fully compromise affected systems. While specific victim numbers or targeted sectors are not provided, any system processing untrusted media files via vulnerable FFmpeg libraries is at risk. This includes media servers, content management systems, video editing software, and potentially web applications that handle user-uploaded video content.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Patch CVE-2026-65703 by upgrading FFmpeg to version 8.1.3 or later on all affected systems immediately.</li>
<li>Implement robust input validation and sanitization for all user-supplied media files before processing them with FFmpeg.</li>
<li>Monitor application logs for unexpected crashes or error messages related to media processing involving <code>ffmpeg</code> or <code>libavcodec</code> components.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>vulnerability</category><category>media-processing</category><category>code-execution</category></item></channel></rss>