CVE-2026-65704CWE-191CWE-787

CVE-2026-65704

High · published July 24, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
7.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00178 · 7.0th percentile
Weaknesses
CWE-191 · Integer Underflow (Wrap or Wraparound); CWE-787 · Out-of-bounds Write
Published
2026-07-24T00:17Z
Affected products (1)
ProductVersionsFixed in
ffmpeg/ffmpeg≤ 8.1.2—
References (3)
EPSS history
Timeline
  • 23 JUL 18:55Z
    FFmpeg 8.1.2 Out-of-Bounds Write via TY Demuxer and Shorten Decoder
    cvelistv5