CVE-2026-65704

Publication date 23 July 2026

Last updated 4 September 2026


Ubuntu priority

Cvss 3 Severity Score

7.8 · High

Score breakdown

Description

FFmpeg through 8.1.2 contains an out-of-bounds write vulnerability that allows attackers to cause heap corruption by supplying a crafted ffconcat file processed with the -safe 0 flag. The TY demuxer's demux_audio() function decrements packet size without bounds checking, producing a negative size value that is passed to memcpy() in shorten_decode_frame(), where conversion to size_t wraps the value to near SIZE_MAX and triggers reads beyond the source allocation and writes far beyond the Shorten decoder's bitstream buffer.

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
Not affected
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-65704: xenial/bionic not-affected — libavformat/ty.c demuxer absent, vulnerable demux_audio() underflow path unreachable.

Severity score breakdown

CVSS version:

Base score 7.3 · High

Vector: CVSS:4.0/AV:L/AC:L/AT:P/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