CVE Catalog

CVE-2026-125209

HighCVSS 7.8
Published: Translated: NVD NIST

Summary

FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap buffer overflow vulnerability in the DVD subtitle encoder that underestimates RLE output size for odd-width rectangles. Attackers can supply files with crafted bitmap subtitles that, when transcoded to the dvdsub encoder, write past the output buffer and corrupt heap memory.

Risk Assessment

Heap memory corruption can cause crashes or potential code execution during transcoding of untrusted subtitles. Organizations converting media are exposed to attacks via supplied files.

Recommendation

Update FFmpeg to version 8.1.3 or 9.0.2 (or later) and avoid transcoding untrusted bitmap subtitles. Consider isolating the transcoding process.

Other vulnerabilities in FFmpeg

See all
Original NVD description (English source)

FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap buffer overflow vulnerability in the DVD subtitle encoder that underestimates RLE output size for odd-width rectangles. Attackers can supply files with crafted bitmap subtitles that, when transcoded to the dvdsub encoder, write past the output buffer and corrupt heap memory.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS