CVE and update status of the FreeBSD ports tree4,526 unaddressed CVEs in 616 portsAll times are CET

CVE details

CVE-2026-65706

FFmpeg versions 3.0 through 8.1.2 contain an out-of-bounds write vulnerability in the vf_swaprect video filter that allows attackers to corrupt heap memory by supplying a crafted NV12 video frame with odd width dimensions. The filter_frame() function reuses a temporary row buffer sized for plane 0's single-byte pixel step across all planes, causing an 18-byte memcpy into a 17-byte heap allocation when processing the two-byte-per-sample interleaved chroma plane of a 17x16 NV12 frame, resulting in heap corruption and process crash with potential for code execution.

Score
8.5 high
Published
2026-07-23
Links
NVD · cve.org

Affected ports (3)

PortPackageVersionStatusMaintainer
multimedia/ffmpeg3ffmpeg33.0.2_1unaddressedkreinholz@gmail.com
multimedia/linux-rl9-ffmpeglinux-rl9-ffmpeg-libs7.1.5unaddressedemulation@FreeBSD.org
multimedia/ffmpeg4ffmpeg44.4.8_2possibly backportedmonwarez@mailoo.org

Template for a VuXML entry

Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.

  <vuln vid="FIXME (make newentry)">
    <topic>FIXME -- FIXME</topic>
    <affects>
      <package>
	<name>ffmpeg3</name>
	<range><lt>FIXME</lt></range>
      </package>
      <package>
	<name>linux-rl9-ffmpeg-libs</name>
	<range><lt>FIXME</lt></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>FFmpeg versions 3.0 through 8.1.2 contain an out-of-bounds write
	vulnerability in the vf_swaprect video filter that allows attackers to
	corrupt heap memory by supplying a crafted NV12 video frame with odd
	width dimensions. The filter_frame() function reuses a temporary row
	buffer sized for plane 0's single-byte pixel step across all planes,
	causing an 18-byte memcpy into a 17-byte heap allocation when
	processing the two-byte-per-sample interleaved chroma plane of a 17x16
	NV12 frame, resulting in heap corruption and process crash with
	potential for code execution.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2026-65706</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2026-65706</url>
    </references>
    <dates>
      <discovery>2026-07-23</discovery>
      <entry>2026-10-25</entry>
    </dates>
  </vuln>