Bug 2506589 (CVE-2026-65704) - CVE-2026-65704 ffmpeg: FFmpeg: Heap corruption via crafted ffconcat file can lead to arbitrary code execution
Summary: CVE-2026-65704 ffmpeg: FFmpeg: Heap corruption via crafted ffconcat file can ...
Keywords:
Status: NEW
Alias: CVE-2026-65704
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-23 20:02 UTC by OSIDB Bzimport
Modified: 2026-07-24 11:28 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-23 20:02:18 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.