CVE-2026-65704

HIGH

FFmpeg 8.1.2 Out-of-Bounds Write via TY Demuxer and Shorten Decoder

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0013
EPSS Percentile 2.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-191 CWE-787
Status published
Products (2)
FFmpeg/FFmpeg < 8.1.2
FFmpeg/FFmpeg de771bd52774a52d45b0e2c82e56995a1ef40df7
Published Jul 23, 2026
Tracked Since Jul 24, 2026