CVE-2026-125212

FFmpeg through 9.0.2 Heap Buffer Overflow via VideoToolbox Encoder

High published · updated

7.3
CVSS score out of 10 · NVD (vulncheck.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
ffmpeg ffmpeg ≤9.0.2— CVE.org

References