All vulnerabilities

Servers and applications

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…

Severity
High 8.5
Published
23 Jul 2026
Last changed
24 Oct 2026
Added to UpHeron
1 Nov 2026
Exploit chance
0.2% in the next 30 daysHigher than 8% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-131Out-of-bounds write (CWE-787)
Attack
Needs local access · No login needed · Needs someone to view a page or file
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Sources
NVD

Description

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.

From NVD.

Affected software

SoftwareAffected versions
FFmpegServers and applications · cpe:a:ffmpeg:ffmpeg
  • From 3.0 up to 8.1.2

About FFmpeg

multimedia framework

From Wikidata, CC0 1.0.
GitHub stars
67,332GitHub, 15 Nov 2026
Forks
14,646GitHub, 15 Nov 2026
Developer
Fabrice BellardWikidata
License
GNU Lesser General Public License, version 2.1 or laterWikidata
Written in
C, assembly language, C++Wikidata
First released
20 Dec 2000Wikidata
First published on GitHub
14 Apr 2011GitHub

Release lines

ReleaseLatestSecurity fixes
9.0 'Lei'9.0.2Yes
8.1 'Hoare'8.1.3Yes
8.0 'Huffman'8.0.3Yes
7.1 'Péter' (LTS)LTS7.1.5Yes
7.0 'Dijkstra'7.0.3Ended 22 Jun 2026
6.1 'Heaviside'6.1.6Yes

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-65706
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-65706