CVE-2026-125212 FFmpeg through 9.0.2 Heap Buffer Overflow via VideoToolbox Encoder
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-125212?
CVE-2026-125212 is a high-severity vulnerability in FFmpeg, published on 9 Nov 2026.
Official 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.
Weakness: CWE-122
Which versions are affected by CVE-2026-125212?
How do I fix CVE-2026-125212?
No fix has been published for CVE-2026-125212 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-125212 being exploited?
There is no known exploitation of CVE-2026-125212 in the wild and no public exploit code.
Sources
Also known as GHSA-pcv3-vw2j-h73r, UBUNTU-CVE-2026-125212.