CVE-2026-65706

Publication date 23 July 2026

Last updated 4 September 2026


Ubuntu priority

Cvss 3 Severity Score

7.8 · High

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
ffmpeg 26.04 LTS resolute
Vulnerable
24.04 LTS noble
Fixed 7:6.1.1-3ubuntu5+esm13
22.04 LTS jammy
Fixed 7:4.4.2-0ubuntu0.22.04.1+esm15
20.04 LTS focal
Fixed 7:4.2.7-0ubuntu0.1+esm16
18.04 LTS bionic
Fixed 7:3.4.11-0ubuntu0.1+esm15
16.04 LTS xenial
Not affected
libav 26.04 LTS resolute Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
14.04 LTS trusty
Needs evaluation

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Notes


leosilva

CVE-2026-65706: xenial not-affected — vf_swaprect.c absent (introduced 3.0)

Severity score breakdown

CVSS version:

Base score 8.5 · High

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

Base score 7.8 · High

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H


Access our resources on patching vulnerabilities