High severity7.8NVD Advisory· Published Jul 23, 2026· Updated Aug 7, 2026
CVE-2026-65704
CVE-2026-65704
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
5- osv-coords3 versionspkg:rpm/opensuse/ffmpeg-4&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/ffmpeg-7&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/ffmpeg-9&distro=openSUSE%20Tumbleweed
< 4.4.8-4.1+ 2 more
- (no CPE)range: < 4.4.8-4.1
- (no CPE)range: < 7.1.5-2.1
- (no CPE)range: < 9.0.1-2.1
Patches
Vulnerability mechanics
References
3- code.ffmpeg.org/FFmpeg/FFmpeg/commit/de771bd52774a52d45b0e2c82e56995a1ef40df7nvdPatch
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23767nvdIssue TrackingPatch
- www.vulncheck.com/advisories/ffmpeg-out-of-bounds-write-via-ty-demuxer-and-shorten-decodernvdThird Party Advisory
News mentions
1- FFmpeg: Four Memory Corruption Vulnerabilities Disclosed in BatchVypr Intelligence · Jul 25, 2026