Skip to content
Fencer Vulns
high 7.8

CVE-2026-65706 json

FFmpeg 3.0 - 8.1.2 vf_swaprect Out-of-Bounds Write via NV12 Frame Processing

published 2026-07-23 3 mo ago modified 2026-10-24 15 d ago also EUVD-2026-48373 , GHSA-g9rh-4g64-7qxg , JLSEC-2026-1181

cvss
7.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 8%
public exploits
0
none known

Summary

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.

Patch / fix

  • julia FFMPEG_jll 9.0.0+0
  • julia FFMPEG_nogpl_jll 9.0.0+0
  • julia FFplay_jll 9.0.0+0
  • ffmpeg Debian 14 7:9.0.2-1

debian advisories DEBIAN-CVE-2026-65706

  • ffmpeg Ubuntu Pro 18.04 LTS 7:3.4.11-0ubuntu0.1+esm15
  • ffmpeg Ubuntu Pro 20.04 LTS 7:4.2.7-0ubuntu0.1+esm16
  • ffmpeg Ubuntu Pro 22.04 LTS 7:4.4.2-0ubuntu0.22.04.1+esm15
  • ffmpeg Ubuntu Pro 24.04 LTS 7:6.1.1-3ubuntu5+esm13
  • ffmpeg Ubuntu Pro 26.04 LTS 7:8.0.1-3ubuntu2+esm4

ubuntu advisories UBUNTU-CVE-2026-65706

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • ffmpeg-4 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 4.4.8-150400.3.75.1
  • ffmpeg-4 SLE Workstation Extension 15 SP7, SLE Module for Package Hub 15 SP7 4.4.8-150600.13.55.1
  • ffmpeg SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +10 more 3.4.2-150200.11.79.1

suse advisories SUSE-SU-2026:4150-1SUSE-SU-2026:4149-1SUSE-SU-2026:3934-1

  • ffmpeg-7 openSUSE Leap 16.0 7.1.5-160000.1.1
  • ffmpeg-8 openSUSE Tumbleweed 8.1.2-3.1
  • ffmpeg-7 openSUSE Tumbleweed 7.1.5-2.1
  • ffmpeg-4 openSUSE Tumbleweed 4.4.8-4.1
  • ffmpeg-9 openSUSE Tumbleweed 9.0.1-2.1

opensuse advisories openSUSE-SU-2026:21877-1openSUSE-SU-2026:11682-1openSUSE-SU-2026:11665-1openSUSE-SU-2026:11563-1openSUSE-SU-2026:11545-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-65706 updated cvss 5.5

FFmpeg: FFmpeg: Arbitrary Code Execution via Crafted Video Frame

  • Red Hat Enterprise Linux AI (RHEL AI) 3 ffmpeg, rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-aws-cuda-rhel9, rhelai3/bootc-gcp-cuda-rhel9, rhelai3/bootc-azure-cuda-rhel9, +1 more Red Hat OpenShift AI (RHOAI) rhoai/odh-vllm-gaudi-rhel9
    affected: no fix available “Fix deferred”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
3 mo ago

Exploit prediction

0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 8.5 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
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CNA 4.0 8.5 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
OSV 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
julia FFMPEG_jll
<9.0.0+0
9.0.0+0
julia FFMPEG_nogpl_jll
<9.0.0+0
9.0.0+0
julia FFplay_jll
<9.0.0+0
9.0.0+0

Affected products

  • FFmpeg FFmpeg

Classification

Weakness
  • CWE-787 Out-of-bounds Write
  • CWE-131 Incorrect Calculation of Buffer Size

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.