CVE-2026-125255

published 9 Nov 2026 · updated 10 Nov 2026

FFmpeg through 9.0.2 Use-After-Free in MJPEG Hardware-Accelerated Decoding

5.3MediumCVSS 5.3EPSS 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 a use after free vulnerability in libavcodec/mjpegdec.c that allows attackers to trigger freed buffer reads by sending a SOF marker without a preceding SOI. Attackers can supply crafted MJPEG streams causing ff_mjpeg_decode_sof() to pass a stale raw_image_buffer pointer to hwaccel decoders like NVDEC, crashing applications or leaking heap contents.

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-125255 severity on Zeptric[![CVE-2026-125255](https://zeptric.io/badge/cve/CVE-2026-125255.svg)](https://zeptric.io/cve/CVE-2026-125255)