Back to CVE records
High 7.8Published Jul 23, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects FFmpeg. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-787, CWE-191
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
VulnCheck
NVD analysis
Analyzed
Record last updated
Jul 27, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
FFmpeg FFmpeg
ffmpeg:ffmpeg (from the name)
through 8.1.2; de771bd52774a52d45b0e2c82e56995a1ef40df7 not affected
CNA record
ffmpeg ffmpeg
ffmpeg:ffmpeg
through 8.1.2
NVD

References

  • issue-tracking, patch
  • patch
  • third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.