P2 · HighCVSS 7.0
FFmpeg through 9.0.2 Heap Buffer Overflow via VideoToolbox Encoder
- CVE-2026-125212
- GHSA-pcv3-vw2j-h73r
- EUVD-2026-120301
Description
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in libavcodec/videotoolboxenc.c that copies frames larger than encoder dimensions into undersized CVPixelBuffers. Attackers can supply crafted input whose resolution grows mid-stream, transcoded with VideoToolbox encoders without rescaling, to crash the application or corrupt memory.
Text from the CVE.org record.
Affected
ffmpeg
- up to 9.0.2
Product versions from the NVD record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.