CVE-2026-125227

published 9 Nov 2026 · updated 10 Nov 2026

FFmpeg through 9.0.2 Heap Buffer Overflow via cbs_jpeg_write_scan Integer Overflow

7.0HighCVSS 7.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

FFmpeg through 9.0.2 contains an integer overflow in cbs_jpeg_write_scan() in libavcodec/cbs_jpeg.c that causes a heap buffer overflow on 32-bit builds. Attackers can supply a crafted MJPEG/JPEG stream with a scan of 512 MiB or more, processed by CBS bitstream filters like filter_units, to corrupt the heap or crash the application.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ffmpeg<=9.0.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-125227 severity on Zeptric[![CVE-2026-125227](https://zeptric.io/badge/cve/CVE-2026-125227.svg)](https://zeptric.io/cve/CVE-2026-125227)