Vulnerability

CVE-2026-65704

highCVSS 4.0 7.3Published 23 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Ffmpeg ffmpeg

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning